Skip to content

Commit

Permalink
refactor: remove unused core specs
Browse files Browse the repository at this point in the history
  • Loading branch information
jsolaas committed Dec 9, 2024
1 parent fe2a52e commit eab4920
Show file tree
Hide file tree
Showing 10 changed files with 0 additions and 76 deletions.
6 changes: 0 additions & 6 deletions src/libecalc/core/consumers/compressor/component.py
Original file line number Diff line number Diff line change
@@ -1,7 +1,5 @@
from __future__ import annotations

from typing import Optional

import numpy as np

from libecalc.common.stream_conditions import TimeSeriesStreamConditions
Expand All @@ -16,16 +14,12 @@
from libecalc.core.result import EcalcModelResult
from libecalc.core.result import results as core_results
from libecalc.domain.stream_conditions import Pressure, StreamConditions
from libecalc.dto.core_specs.compressor.operational_settings import (
CompressorOperationalSettings,
)


class Compressor(BaseConsumerWithoutOperationalSettings):
def __init__(self, id: str, compressor_model: CompressorModel):
self.id = id
self._compressor_model = compressor_model
self._operational_settings: Optional[CompressorOperationalSettings] = None

def get_max_rate(self, inlet_stream: StreamConditions, target_pressure: Pressure) -> float:
"""
Expand Down
4 changes: 0 additions & 4 deletions src/libecalc/core/consumers/pump/component.py
Original file line number Diff line number Diff line change
@@ -1,7 +1,5 @@
from __future__ import annotations

from typing import Optional

import numpy as np

from libecalc.common.stream_conditions import TimeSeriesStreamConditions
Expand All @@ -17,14 +15,12 @@
from libecalc.core.result import EcalcModelResult
from libecalc.core.result import results as core_results
from libecalc.domain.stream_conditions import Pressure, StreamConditions
from libecalc.dto.core_specs.pump.operational_settings import PumpOperationalSettings


class Pump(BaseConsumerWithoutOperationalSettings):
def __init__(self, id: str, pump_model: PumpModel):
self.id = id
self._pump_model = pump_model
self._operational_settings: Optional[PumpOperationalSettings] = None

def get_max_rate(self, inlet_stream: StreamConditions, target_pressure: Pressure) -> list[float]:
"""
Expand Down
Empty file.
Empty file.
10 changes: 0 additions & 10 deletions src/libecalc/dto/core_specs/base/operational_settings.py

This file was deleted.

Empty file.
28 changes: 0 additions & 28 deletions src/libecalc/dto/core_specs/compressor/operational_settings.py

This file was deleted.

Empty file.
28 changes: 0 additions & 28 deletions src/libecalc/dto/core_specs/pump/operational_settings.py

This file was deleted.

Empty file.

0 comments on commit eab4920

Please sign in to comment.