diff --git a/src/libecalc/core/graph_result.py b/src/libecalc/core/graph_result.py index 7fc71cafe3..8750d9e542 100644 --- a/src/libecalc/core/graph_result.py +++ b/src/libecalc/core/graph_result.py @@ -296,7 +296,7 @@ def get_asset_result(self) -> libecalc.dto.result.EcalcModelResult: unit=Unit.BARA, ).for_period(period=period) - rate_sm3_day = TimeSeriesRate( + rate = TimeSeriesRate( timesteps=model.timesteps, values=model.rate_sm3_day, unit=Unit.STANDARD_CUBIC_METER_PER_DAY, @@ -413,7 +413,7 @@ def get_asset_result(self) -> libecalc.dto.result.EcalcModelResult: energy_usage_unit=model.energy_usage_unit, requested_inlet_pressure=requested_inlet_pressure, requested_outlet_pressure=requested_outlet_pressure, - rate_sm3_day=rate_sm3_day, + rate=rate, stage_results=model.stage_results, failure_status=model.failure_status, timesteps=model.timesteps, diff --git a/src/libecalc/dto/result/results.py b/src/libecalc/dto/result/results.py index 9db2ee558a..23ae41b976 100644 --- a/src/libecalc/dto/result/results.py +++ b/src/libecalc/dto/result/results.py @@ -143,11 +143,10 @@ class PumpModelResult(ConsumerModelResultBase): class CompressorModelResult(ConsumerModelResultBase): componentType: Literal[ComponentType.COMPRESSOR] - # max_standard_rate: Optional[Union[List[Optional[float]], List[List[Optional[float]]]]] failure_status: List[Optional[CompressorTrainCommonShaftFailureStatus]] requested_inlet_pressure: TimeSeriesFloat requested_outlet_pressure: TimeSeriesFloat - rate_sm3_day: TimeSeriesRate + rate: TimeSeriesRate stage_results: List[CompressorStageResult] turbine_result: Optional[TurbineResult] = None energy_usage_unit: Unit