diff --git a/src/libecalc/common/units.py b/src/libecalc/common/units.py index 8f901e55a4..fc816cd1c7 100644 --- a/src/libecalc/common/units.py +++ b/src/libecalc/common/units.py @@ -47,6 +47,7 @@ class Unit(str, Enum): NONE = "N/A" KG_BOE = "kg/BOE" KG_SM3 = "kg/Sm3" + KG_M3 = "kg/m3" STANDARD_CUBIC_METER = "Sm3" BOE = "BOE" @@ -54,6 +55,7 @@ class Unit(str, Enum): TONS = "t" KILO_PER_DAY = "kg/d" + KILO_PER_HOUR = "kg/h" KILO = "kg" LITRES_PER_DAY = "L/d" @@ -84,6 +86,8 @@ class Unit(str, Enum): NORWEGIAN_KRONER_PER_DAY = "NOK/d" NORWEGIAN_KRONER = "NOK" + SPEED_RPM = "RPM" + def __str__(self) -> str: return self.value diff --git a/src/libecalc/core/graph_result.py b/src/libecalc/core/graph_result.py index dd98ce766b..bdab7c1ac2 100644 --- a/src/libecalc/core/graph_result.py +++ b/src/libecalc/core/graph_result.py @@ -26,6 +26,12 @@ from libecalc.dto.graph import Graph from libecalc.dto.models.consumer_system import CompressorSystemConsumerFunction from libecalc.dto.result.emission import EmissionIntensityResult +from libecalc.dto.result.results import ( + CompressorModelResult, + CompressorModelStageResult, + CompressorStreamConditionResult, + TurbineModelResult, +) from libecalc.dto.types import RateType from libecalc.dto.utils.aggregators import aggregate_emissions, aggregate_is_valid from libecalc.expression import Expression @@ -299,9 +305,323 @@ def get_asset_result(self) -> libecalc.dto.result.EcalcModelResult: unit=Unit.BARA, ).for_period(period=period) + rate = TimeSeriesRate( + timesteps=model.timesteps, + values=model.rate_sm3_day, + unit=Unit.STANDARD_CUBIC_METER_PER_DAY, + rate_type=RateType.STREAM_DAY, + ) + + model_stage_results = [] + # Convert rates in stage results from lists to time series: + for stage_result in model.stage_results: + model_stage_result = CompressorModelStageResult( + chart=stage_result.chart, + chart_area_flags=stage_result.chart_area_flags, + energy_usage_unit=stage_result.energy_usage_unit, + power_unit=stage_result.power_unit, + fluid_composition=stage_result.fluid_composition, + asv_recirculation_loss_mw=TimeSeriesRate( + timesteps=model.timesteps, + values=stage_result.asv_recirculation_loss_mw + if stage_result.asv_recirculation_loss_mw is not None + else [math.nan] * len(model.timesteps), + unit=Unit.MEGA_WATT, + rate_type=RateType.STREAM_DAY, + ), + head_exceeds_maximum=TimeSeriesBoolean( + timesteps=model.timesteps, + values=stage_result.head_exceeds_maximum + if stage_result.asv_recirculation_loss_mw is not None + else [math.nan] * len(model.timesteps), + unit=Unit.NONE, + ), + is_valid=TimeSeriesBoolean( + timesteps=model.timesteps, + values=stage_result.is_valid + if stage_result.is_valid is not None + else [math.nan] * len(model.timesteps), + unit=Unit.NONE, + ), + polytropic_efficiency=TimeSeriesFloat( + timesteps=model.timesteps, + values=stage_result.polytropic_efficiency + if stage_result.polytropic_efficiency is not None + else [math.nan] * len(model.timesteps), + unit=Unit.FRACTION, + ), + polytropic_enthalpy_change_before_choke_kJ_per_kg=TimeSeriesFloat( + timesteps=model.timesteps, + values=stage_result.polytropic_enthalpy_change_before_choke_kJ_per_kg + if stage_result.polytropic_enthalpy_change_before_choke_kJ_per_kg is not None + else [math.nan] * len(model.timesteps), + unit=Unit.POLYTROPIC_HEAD_KILO_JOULE_PER_KG, + ), + polytropic_enthalpy_change_kJ_per_kg=TimeSeriesFloat( + timesteps=model.timesteps, + values=stage_result.polytropic_enthalpy_change_kJ_per_kg + if stage_result.polytropic_enthalpy_change_kJ_per_kg is not None + else [math.nan] * len(model.timesteps), + unit=Unit.POLYTROPIC_HEAD_KILO_JOULE_PER_KG, + ), + polytropic_head_kJ_per_kg=TimeSeriesFloat( + timesteps=model.timesteps, + values=stage_result.polytropic_head_kJ_per_kg + if stage_result.polytropic_head_kJ_per_kg is not None + else [math.nan] * len(model.timesteps), + unit=Unit.POLYTROPIC_HEAD_KILO_JOULE_PER_KG, + ), + energy_usage=TimeSeriesRate( + timesteps=model.timesteps, + values=stage_result.energy_usage + if stage_result.energy_usage is not None + else [math.nan] * len(model.timesteps), + unit=stage_result.energy_usage_unit, + rate_type=RateType.STREAM_DAY, + ), + mass_rate_kg_per_hr=TimeSeriesRate( + timesteps=model.timesteps, + values=stage_result.mass_rate_kg_per_hr + if stage_result.mass_rate_kg_per_hr is not None + else [math.nan] * len(model.timesteps), + unit=Unit.KILO_PER_HOUR, + rate_type=RateType.STREAM_DAY, + ), + mass_rate_before_asv_kg_per_hr=TimeSeriesRate( + timesteps=model.timesteps, + values=stage_result.mass_rate_before_asv_kg_per_hr + if stage_result.mass_rate_before_asv_kg_per_hr is not None + else [math.nan] * len(model.timesteps), + unit=Unit.KILO_PER_HOUR, + rate_type=RateType.STREAM_DAY, + ), + power=TimeSeriesRate( + timesteps=model.timesteps, + values=stage_result.power + if stage_result.power is not None + else [math.nan] * len(model.timesteps), + unit=stage_result.power_unit, + rate_type=RateType.STREAM_DAY, + ), + pressure_is_choked=TimeSeriesBoolean( + timesteps=model.timesteps, + values=stage_result.pressure_is_choked + if stage_result.pressure_is_choked is not None + else [math.nan] * len(model.timesteps), + unit=Unit.NONE, + ), + rate_exceeds_maximum=TimeSeriesBoolean( + timesteps=model.timesteps, + values=stage_result.rate_exceeds_maximum + if stage_result.rate_exceeds_maximum is not None + else [math.nan] * len(model.timesteps), + unit=Unit.NONE, + ), + rate_has_recirculation=TimeSeriesBoolean( + timesteps=model.timesteps, + values=stage_result.rate_has_recirculation + if stage_result.rate_has_recirculation is not None + else [math.nan] * len(model.timesteps), + unit=Unit.NONE, + ), + speed=TimeSeriesFloat( + timesteps=model.timesteps, + values=stage_result.speed + if stage_result.speed is not None + else [math.nan] * len(model.timesteps), + unit=Unit.SPEED_RPM, + ), + inlet_stream_condition=CompressorStreamConditionResult( + actual_rate_m3_per_hr=TimeSeriesRate( + timesteps=model.timesteps, + values=stage_result.inlet_stream_condition.actual_rate_m3_per_hr + if stage_result.inlet_stream_condition.actual_rate_m3_per_hr is not None + else [math.nan] * len(model.timesteps), + unit=Unit.ACTUAL_VOLUMETRIC_M3_PER_HOUR, + rate_type=RateType.STREAM_DAY, + ), + actual_rate_before_asv_m3_per_hr=TimeSeriesRate( + timesteps=model.timesteps, + values=stage_result.inlet_stream_condition.actual_rate_before_asv_m3_per_hr + if stage_result.inlet_stream_condition.actual_rate_before_asv_m3_per_hr is not None + else [math.nan] * len(model.timesteps), + unit=Unit.ACTUAL_VOLUMETRIC_M3_PER_HOUR, + rate_type=RateType.STREAM_DAY, + ), + kappa=TimeSeriesFloat( + timesteps=model.timesteps, + values=stage_result.inlet_stream_condition.kappa + if stage_result.inlet_stream_condition.kappa is not None + else [math.nan] * len(model.timesteps), + unit=Unit.NONE, + ), + density_kg_per_m3=TimeSeriesRate( + timesteps=model.timesteps, + values=stage_result.inlet_stream_condition.density_kg_per_m3 + if stage_result.inlet_stream_condition.density_kg_per_m3 is not None + else [math.nan] * len(model.timesteps), + unit=Unit.KG_M3, + rate_type=RateType.STREAM_DAY, + ), + pressure=TimeSeriesFloat( + timesteps=model.timesteps, + values=stage_result.inlet_stream_condition.pressure + if stage_result.inlet_stream_condition.pressure is not None + else [math.nan] * len(model.timesteps), + unit=Unit.BARA, + ), + pressure_before_choking=TimeSeriesFloat( + timesteps=model.timesteps, + values=stage_result.inlet_stream_condition.pressure_before_choking + if stage_result.inlet_stream_condition.pressure_before_choking is not None + else [math.nan] * len(model.timesteps), + unit=Unit.BARA, + ), + temperature_kelvin=TimeSeriesFloat( + timesteps=model.timesteps, + values=stage_result.inlet_stream_condition.temperature_kelvin + if stage_result.inlet_stream_condition.temperature_kelvin is not None + else [math.nan] * len(model.timesteps), + unit=Unit.KELVIN, + ), + z=TimeSeriesFloat( + timesteps=model.timesteps, + values=stage_result.inlet_stream_condition.z + if stage_result.inlet_stream_condition.z is not None + else [math.nan] * len(model.timesteps), + unit=Unit.NONE, + ), + ), + outlet_stream_condition=CompressorStreamConditionResult( + actual_rate_m3_per_hr=TimeSeriesRate( + timesteps=model.timesteps, + values=stage_result.outlet_stream_condition.actual_rate_m3_per_hr + if stage_result.outlet_stream_condition.actual_rate_m3_per_hr is not None + else [math.nan] * len(model.timesteps), + unit=Unit.ACTUAL_VOLUMETRIC_M3_PER_HOUR, + rate_type=RateType.STREAM_DAY, + ), + actual_rate_before_asv_m3_per_hr=TimeSeriesRate( + timesteps=model.timesteps, + values=stage_result.outlet_stream_condition.actual_rate_before_asv_m3_per_hr + if stage_result.outlet_stream_condition.actual_rate_before_asv_m3_per_hr is not None + else [math.nan] * len(model.timesteps), + unit=Unit.ACTUAL_VOLUMETRIC_M3_PER_HOUR, + rate_type=RateType.STREAM_DAY, + ), + kappa=TimeSeriesFloat( + timesteps=model.timesteps, + values=stage_result.outlet_stream_condition.kappa + if stage_result.outlet_stream_condition.kappa is not None + else [math.nan] * len(model.timesteps), + unit=Unit.NONE, + ), + density_kg_per_m3=TimeSeriesRate( + timesteps=model.timesteps, + values=stage_result.outlet_stream_condition.density_kg_per_m3 + if stage_result.outlet_stream_condition.density_kg_per_m3 is not None + else [math.nan] * len(model.timesteps), + unit=Unit.KG_M3, + rate_type=RateType.STREAM_DAY, + ), + pressure=TimeSeriesFloat( + timesteps=model.timesteps, + values=stage_result.outlet_stream_condition.pressure + if stage_result.outlet_stream_condition.pressure is not None + else [math.nan] * len(model.timesteps), + unit=Unit.BARA, + ), + pressure_before_choking=TimeSeriesFloat( + timesteps=model.timesteps, + values=stage_result.outlet_stream_condition.pressure_before_choking + if stage_result.outlet_stream_condition.pressure_before_choking is not None + else [math.nan] * len(model.timesteps), + unit=Unit.BARA, + ), + temperature_kelvin=TimeSeriesFloat( + timesteps=model.timesteps, + values=stage_result.outlet_stream_condition.temperature_kelvin + if stage_result.outlet_stream_condition.temperature_kelvin is not None + else [math.nan] * len(model.timesteps), + unit=Unit.KELVIN, + ), + z=TimeSeriesFloat( + timesteps=model.timesteps, + values=stage_result.outlet_stream_condition.z + if stage_result.outlet_stream_condition.z is not None + else [math.nan] * len(model.timesteps), + unit=Unit.NONE, + ), + ), + ) + + model_stage_results.append(model_stage_result) + + turbine_result = ( + TurbineModelResult( + energy_usage_unit=model.turbine_result.energy_usage_unit, + power_unit=model.turbine_result.power_unit, + efficiency=TimeSeriesFloat( + timesteps=model.timesteps, + values=model.turbine_result.efficiency + if model.turbine_result.efficiency is not None + else [math.nan] * len(model.timesteps), + unit=Unit.FRACTION, + ), + energy_usage=TimeSeriesRate( + timesteps=model.timesteps, + values=model.turbine_result.energy_usage + if model.turbine_result.energy_usage is not None + else [math.nan] * len(model.timesteps), + unit=model.turbine_result.energy_usage_unit, + rate_type=RateType.STREAM_DAY, + ), + exceeds_maximum_load=TimeSeriesBoolean( + timesteps=model.timesteps, + values=model.turbine_result.exceeds_maximum_load + if model.turbine_result.exceeds_maximum_load is not None + else [math.nan] * len(model.timesteps), + unit=Unit.NONE, + ), + fuel_rate=TimeSeriesRate( + timesteps=model.timesteps, + values=model.turbine_result.fuel_rate + if model.turbine_result.fuel_rate is not None + else [math.nan] * len(model.timesteps), + unit=Unit.STANDARD_CUBIC_METER_PER_DAY, + rate_type=RateType.STREAM_DAY, + ), + is_valid=TimeSeriesBoolean( + timesteps=model.timesteps, + values=list(model.turbine_result.is_valid) + if model.turbine_result.is_valid is not None + else [math.nan] * len(model.timesteps), + unit=Unit.NONE, + ), + load=TimeSeriesRate( + timesteps=model.timesteps, + values=model.turbine_result.load + if model.turbine_result.load is not None + else [math.nan] * len(model.timesteps), + unit=model.turbine_result.energy_usage_unit, + rate_type=RateType.STREAM_DAY, + ), + power=TimeSeriesRate( + timesteps=model.timesteps, + values=model.turbine_result.power + if model.turbine_result.power is not None + else [math.nan] * len(model.timesteps), + unit=model.turbine_result.power_unit, + rate_type=RateType.STREAM_DAY, + ), + ) + if model.turbine_result is not None + else None + ) + models.extend( [ - libecalc.dto.result.CompressorModelResult( + CompressorModelResult( parent=consumer_id, name=model.name, componentType=model.component_type, @@ -310,8 +630,8 @@ 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=model.rate_sm3_day, - stage_results=model.stage_results, + rate=rate, + stage_results=model_stage_results, failure_status=model.failure_status, timesteps=model.timesteps, is_valid=TimeSeriesBoolean( @@ -325,6 +645,7 @@ def get_asset_result(self) -> libecalc.dto.result.EcalcModelResult: ), power=model.power, power_unit=model.power_unit, + turbine_result=turbine_result, ) ] ) diff --git a/src/libecalc/dto/result/results.py b/src/libecalc/dto/result/results.py index 10bde0e1a9..1dc60539f9 100644 --- a/src/libecalc/dto/result/results.py +++ b/src/libecalc/dto/result/results.py @@ -6,6 +6,7 @@ from libecalc.common.component_info.component_level import ComponentLevel from libecalc.common.logger import logger from libecalc.common.time_utils import Frequency +from libecalc.common.units import Unit from libecalc.common.utils.rates import ( TimeSeriesBoolean, TimeSeriesFloat, @@ -13,14 +14,17 @@ TimeSeriesRate, TimeSeriesVolumesCumulative, ) -from libecalc.core.models.results import CompressorTrainResult +from libecalc.core.models.results.compressor import ( + CompressorTrainCommonShaftFailureStatus, +) from libecalc.dto.base import ComponentType +from libecalc.dto.models import SingleSpeedChart, VariableSpeedChart from libecalc.dto.result.base import EcalcResultBaseModel from libecalc.dto.result.emission import EmissionIntensityResult, EmissionResult from libecalc.dto.result.simple import SimpleComponentResult, SimpleResultData from libecalc.dto.result.tabular_time_series import TabularTimeSeries from libecalc.dto.result.types import opt_float -from pydantic import Field, validator +from pydantic import BaseModel, Field, validator from typing_extensions import Annotated @@ -134,10 +138,65 @@ class PumpModelResult(ConsumerModelResultBase): operational_head: Optional[List[float]] -class CompressorModelResult(ConsumerModelResultBase, CompressorTrainResult): +class TurbineModelResult(BaseModel): + energy_usage_unit: Unit + power_unit: Unit + efficiency: TimeSeriesFloat + energy_usage: TimeSeriesRate + exceeds_maximum_load: TimeSeriesBoolean + fuel_rate: TimeSeriesRate + is_valid: TimeSeriesBoolean + load: TimeSeriesRate + power: TimeSeriesRate + + +class CompressorStreamConditionResult(BaseModel): + actual_rate_m3_per_hr: TimeSeriesRate + actual_rate_before_asv_m3_per_hr: TimeSeriesRate + kappa: TimeSeriesFloat + density_kg_per_m3: TimeSeriesRate + pressure: TimeSeriesFloat + pressure_before_choking: TimeSeriesFloat + temperature_kelvin: TimeSeriesFloat + z: TimeSeriesFloat + + +class CompressorModelStageResult(BaseModel): + chart: Optional[Union[SingleSpeedChart, VariableSpeedChart]] + chart_area_flags: List[str] + energy_usage_unit: Unit + power_unit: Unit + fluid_composition: Dict[str, Optional[float]] + + head_exceeds_maximum: TimeSeriesBoolean + is_valid: TimeSeriesBoolean + polytropic_efficiency: TimeSeriesFloat + polytropic_enthalpy_change_before_choke_kJ_per_kg: TimeSeriesFloat + polytropic_enthalpy_change_kJ_per_kg: TimeSeriesFloat + polytropic_head_kJ_per_kg: TimeSeriesFloat + asv_recirculation_loss_mw: TimeSeriesRate + energy_usage: TimeSeriesRate + mass_rate_kg_per_hr: TimeSeriesRate + mass_rate_before_asv_kg_per_hr: TimeSeriesRate + power: TimeSeriesRate + pressure_is_choked: TimeSeriesBoolean + rate_exceeds_maximum: TimeSeriesBoolean + rate_has_recirculation: TimeSeriesBoolean + speed: TimeSeriesFloat + inlet_stream_condition: CompressorStreamConditionResult + outlet_stream_condition: CompressorStreamConditionResult + + +class CompressorModelResult(ConsumerModelResultBase): componentType: Literal[ComponentType.COMPRESSOR] + failure_status: List[Optional[CompressorTrainCommonShaftFailureStatus]] requested_inlet_pressure: TimeSeriesFloat requested_outlet_pressure: TimeSeriesFloat + rate: TimeSeriesRate + stage_results: List[CompressorModelStageResult] + turbine_result: Optional[TurbineModelResult] = None + energy_usage_unit: Unit + power_unit: Unit class GenericModelResult(ConsumerModelResultBase): diff --git a/src/tests/ecalc_cli/snapshots/test_app/test_json_true/test_v3.json b/src/tests/ecalc_cli/snapshots/test_app/test_json_true/test_v3.json index 7df48a791f..c3544da040 100644 --- a/src/tests/ecalc_cli/snapshots/test_app/test_json_true/test_v3.json +++ b/src/tests/ecalc_cli/snapshots/test_app/test_json_true/test_v3.json @@ -773,20 +773,52 @@ "name": "Gas export compressor", "parent": "a549932c65ddb3c5726af8fc99301ce5", "power_unit": "MW", - "rate_sm3_day": [ - 3500000.0, - 3600000.0, - 3700000.0, - 3800000.0, - 3900000.0, - 4000000.0, - 4100000.0, - 4500000.0, - 3500000.0, - 2500000.0, - 2000000.0, - 3000000.0 - ], + "rate": { + "rate_type": "STREAM_DAY", + "regularity": [ + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0 + ], + "timesteps": [ + "2020-01-01 00:00:00", + "2021-01-01 00:00:00", + "2022-01-01 00:00:00", + "2023-01-01 00:00:00", + "2024-01-01 00:00:00", + "2024-12-01 00:00:00", + "2026-01-01 00:00:00", + "2027-01-01 00:00:00", + "2028-01-01 00:00:00", + "2029-01-01 00:00:00", + "2030-01-01 00:00:00", + "2031-01-01 00:00:00" + ], + "unit": "Sm3/d", + "values": [ + 3500000.0, + 3600000.0, + 3700000.0, + 3800000.0, + 3900000.0, + 4000000.0, + 4100000.0, + 4500000.0, + 3500000.0, + 2500000.0, + 2000000.0, + 3000000.0 + ] + }, "requested_inlet_pressure": { "timesteps": [ "2020-01-01 00:00:00", @@ -851,20 +883,52 @@ }, "stage_results": [ { - "asv_recirculation_loss_mw": [ - 0.0, - 0.0, - 0.0, - 0.0, - 0.0, - 0.0, - 0.0, - 0.0, - 0.0, - 0.0, - 0.0, - 0.0 - ], + "asv_recirculation_loss_mw": { + "rate_type": "STREAM_DAY", + "regularity": [ + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0 + ], + "timesteps": [ + "2020-01-01 00:00:00", + "2021-01-01 00:00:00", + "2022-01-01 00:00:00", + "2023-01-01 00:00:00", + "2024-01-01 00:00:00", + "2024-12-01 00:00:00", + "2026-01-01 00:00:00", + "2027-01-01 00:00:00", + "2028-01-01 00:00:00", + "2029-01-01 00:00:00", + "2030-01-01 00:00:00", + "2031-01-01 00:00:00" + ], + "unit": "MW", + "values": [ + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0 + ] + }, "chart_area_flags": [ "NOT_CALCULATED", "NOT_CALCULATED", @@ -879,223 +943,1221 @@ "NOT_CALCULATED", "NOT_CALCULATED" ], - "energy_usage": [ - 130000.0, - 131142.85714285713, - 132285.7142857143, - 133428.57142857142, - 134571.42857142858, - 135714.2857142857, - 136857.14285714287, - 141428.57142857142, - 130000.0, - 50000.0, - 50000.0, - 50000.0 - ], + "energy_usage": { + "rate_type": "STREAM_DAY", + "regularity": [ + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0 + ], + "timesteps": [ + "2020-01-01 00:00:00", + "2021-01-01 00:00:00", + "2022-01-01 00:00:00", + "2023-01-01 00:00:00", + "2024-01-01 00:00:00", + "2024-12-01 00:00:00", + "2026-01-01 00:00:00", + "2027-01-01 00:00:00", + "2028-01-01 00:00:00", + "2029-01-01 00:00:00", + "2030-01-01 00:00:00", + "2031-01-01 00:00:00" + ], + "unit": "Sm3/d", + "values": [ + 130000.0, + 131142.85714285713, + 132285.7142857143, + 133428.57142857142, + 134571.42857142858, + 135714.2857142857, + 136857.14285714287, + 141428.57142857142, + 130000.0, + 50000.0, + 50000.0, + 50000.0 + ] + }, "energy_usage_unit": "Sm3/d", "fluid_composition": {}, - "head_exceeds_maximum": [ - false, - false, - false, - false, - false, - false, - false, - false, - false, - false, - false, - false - ], - "inlet_stream_condition": {}, - "is_valid": [ - true, - true, - true, - true, - true, - true, - true, - true, - true, - true, - true, - true - ], - "outlet_stream_condition": {}, - "power_unit": "MW", - "pressure_is_choked": [ - false, - false, - false, - false, - false, - false, - false, - false, - false, - false, - false, - false - ], - "rate_exceeds_maximum": [ - false, - false, - false, - false, - false, - false, - false, - false, - false, - false, - false, - false - ], - "rate_has_recirculation": [ - false, - false, - false, - false, - false, - false, - false, - false, - false, - false, - false, - false - ] - } - ], - "timesteps": [ - "2020-01-01 00:00:00", - "2021-01-01 00:00:00", - "2022-01-01 00:00:00", - "2023-01-01 00:00:00", - "2024-01-01 00:00:00", - "2024-12-01 00:00:00", - "2026-01-01 00:00:00", - "2027-01-01 00:00:00", - "2028-01-01 00:00:00", - "2029-01-01 00:00:00", - "2030-01-01 00:00:00", - "2031-01-01 00:00:00" - ] - }, - { - "componentType": "COMPRESSOR", - "component_level": "MODEL", - "energy_usage": { - "rate_type": "STREAM_DAY", - "regularity": [ - 1.0, - 1.0, - 1.0, - 1.0, - 1.0, - 1.0, - 1.0, - 1.0, - 1.0, - 1.0, - 1.0, - 1.0 - ], - "timesteps": [ - "2020-01-01 00:00:00", - "2021-01-01 00:00:00", - "2022-01-01 00:00:00", - "2023-01-01 00:00:00", - "2024-01-01 00:00:00", - "2024-12-01 00:00:00", - "2026-01-01 00:00:00", - "2027-01-01 00:00:00", - "2028-01-01 00:00:00", - "2029-01-01 00:00:00", - "2030-01-01 00:00:00", - "2031-01-01 00:00:00" - ], - "unit": "MW", - "values": [ - 4.89, - 5.01, - 5.13, - 5.56, - 5.72, - 6.13, - 6.25, - 6.37, - 6.52, - 6.64, - 6.8, - 6.89 - ] - }, - "energy_usage_cumulative": { - "timesteps": [ - "2020-01-01 00:00:00", - "2021-01-01 00:00:00", - "2022-01-01 00:00:00", - "2023-01-01 00:00:00", - "2024-01-01 00:00:00", - "2024-12-01 00:00:00", - "2026-01-01 00:00:00", - "2027-01-01 00:00:00", - "2028-01-01 00:00:00", - "2029-01-01 00:00:00", - "2030-01-01 00:00:00", - "2031-01-01 00:00:00" - ], - "unit": "MWd", - "values": [ - 0.0, - 1789.74, - 3618.39, - 5490.84, - 7520.24, - 9436.44, - 11863.92, - 14145.17, - 16470.22, - 18856.54, - 21280.14, - 23762.14 - ] - }, - "energy_usage_unit": "MW", - "failure_status": [ - null, - null, - null, - null, - null, - null, - null, - null, - null, - null, - null, - null - ], - "is_valid": { - "timesteps": [ - "2020-01-01 00:00:00", - "2021-01-01 00:00:00", - "2022-01-01 00:00:00", - "2023-01-01 00:00:00", - "2024-01-01 00:00:00", - "2024-12-01 00:00:00", - "2026-01-01 00:00:00", - "2027-01-01 00:00:00", - "2028-01-01 00:00:00", - "2029-01-01 00:00:00", - "2030-01-01 00:00:00", - "2031-01-01 00:00:00" - ], - "unit": "N/A", + "head_exceeds_maximum": { + "timesteps": [ + "2020-01-01 00:00:00", + "2021-01-01 00:00:00", + "2022-01-01 00:00:00", + "2023-01-01 00:00:00", + "2024-01-01 00:00:00", + "2024-12-01 00:00:00", + "2026-01-01 00:00:00", + "2027-01-01 00:00:00", + "2028-01-01 00:00:00", + "2029-01-01 00:00:00", + "2030-01-01 00:00:00", + "2031-01-01 00:00:00" + ], + "unit": "N/A", + "values": [ + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false + ] + }, + "inlet_stream_condition": { + "actual_rate_before_asv_m3_per_hr": { + "rate_type": "STREAM_DAY", + "regularity": [ + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0 + ], + "timesteps": [ + "2020-01-01 00:00:00", + "2021-01-01 00:00:00", + "2022-01-01 00:00:00", + "2023-01-01 00:00:00", + "2024-01-01 00:00:00", + "2024-12-01 00:00:00", + "2026-01-01 00:00:00", + "2027-01-01 00:00:00", + "2028-01-01 00:00:00", + "2029-01-01 00:00:00", + "2030-01-01 00:00:00", + "2031-01-01 00:00:00" + ], + "unit": "Am3/h", + "values": [ + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null + ] + }, + "actual_rate_m3_per_hr": { + "rate_type": "STREAM_DAY", + "regularity": [ + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0 + ], + "timesteps": [ + "2020-01-01 00:00:00", + "2021-01-01 00:00:00", + "2022-01-01 00:00:00", + "2023-01-01 00:00:00", + "2024-01-01 00:00:00", + "2024-12-01 00:00:00", + "2026-01-01 00:00:00", + "2027-01-01 00:00:00", + "2028-01-01 00:00:00", + "2029-01-01 00:00:00", + "2030-01-01 00:00:00", + "2031-01-01 00:00:00" + ], + "unit": "Am3/h", + "values": [ + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null + ] + }, + "density_kg_per_m3": { + "rate_type": "STREAM_DAY", + "regularity": [ + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0 + ], + "timesteps": [ + "2020-01-01 00:00:00", + "2021-01-01 00:00:00", + "2022-01-01 00:00:00", + "2023-01-01 00:00:00", + "2024-01-01 00:00:00", + "2024-12-01 00:00:00", + "2026-01-01 00:00:00", + "2027-01-01 00:00:00", + "2028-01-01 00:00:00", + "2029-01-01 00:00:00", + "2030-01-01 00:00:00", + "2031-01-01 00:00:00" + ], + "unit": "kg/m3", + "values": [ + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null + ] + }, + "kappa": { + "timesteps": [ + "2020-01-01 00:00:00", + "2021-01-01 00:00:00", + "2022-01-01 00:00:00", + "2023-01-01 00:00:00", + "2024-01-01 00:00:00", + "2024-12-01 00:00:00", + "2026-01-01 00:00:00", + "2027-01-01 00:00:00", + "2028-01-01 00:00:00", + "2029-01-01 00:00:00", + "2030-01-01 00:00:00", + "2031-01-01 00:00:00" + ], + "unit": "N/A", + "values": [ + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null + ] + }, + "pressure": { + "timesteps": [ + "2020-01-01 00:00:00", + "2021-01-01 00:00:00", + "2022-01-01 00:00:00", + "2023-01-01 00:00:00", + "2024-01-01 00:00:00", + "2024-12-01 00:00:00", + "2026-01-01 00:00:00", + "2027-01-01 00:00:00", + "2028-01-01 00:00:00", + "2029-01-01 00:00:00", + "2030-01-01 00:00:00", + "2031-01-01 00:00:00" + ], + "unit": "bara", + "values": [ + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null + ] + }, + "pressure_before_choking": { + "timesteps": [ + "2020-01-01 00:00:00", + "2021-01-01 00:00:00", + "2022-01-01 00:00:00", + "2023-01-01 00:00:00", + "2024-01-01 00:00:00", + "2024-12-01 00:00:00", + "2026-01-01 00:00:00", + "2027-01-01 00:00:00", + "2028-01-01 00:00:00", + "2029-01-01 00:00:00", + "2030-01-01 00:00:00", + "2031-01-01 00:00:00" + ], + "unit": "bara", + "values": [ + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null + ] + }, + "temperature_kelvin": { + "timesteps": [ + "2020-01-01 00:00:00", + "2021-01-01 00:00:00", + "2022-01-01 00:00:00", + "2023-01-01 00:00:00", + "2024-01-01 00:00:00", + "2024-12-01 00:00:00", + "2026-01-01 00:00:00", + "2027-01-01 00:00:00", + "2028-01-01 00:00:00", + "2029-01-01 00:00:00", + "2030-01-01 00:00:00", + "2031-01-01 00:00:00" + ], + "unit": "K", + "values": [ + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null + ] + }, + "z": { + "timesteps": [ + "2020-01-01 00:00:00", + "2021-01-01 00:00:00", + "2022-01-01 00:00:00", + "2023-01-01 00:00:00", + "2024-01-01 00:00:00", + "2024-12-01 00:00:00", + "2026-01-01 00:00:00", + "2027-01-01 00:00:00", + "2028-01-01 00:00:00", + "2029-01-01 00:00:00", + "2030-01-01 00:00:00", + "2031-01-01 00:00:00" + ], + "unit": "N/A", + "values": [ + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null + ] + } + }, + "is_valid": { + "timesteps": [ + "2020-01-01 00:00:00", + "2021-01-01 00:00:00", + "2022-01-01 00:00:00", + "2023-01-01 00:00:00", + "2024-01-01 00:00:00", + "2024-12-01 00:00:00", + "2026-01-01 00:00:00", + "2027-01-01 00:00:00", + "2028-01-01 00:00:00", + "2029-01-01 00:00:00", + "2030-01-01 00:00:00", + "2031-01-01 00:00:00" + ], + "unit": "N/A", + "values": [ + true, + true, + true, + true, + true, + true, + true, + true, + true, + true, + true, + true + ] + }, + "mass_rate_before_asv_kg_per_hr": { + "rate_type": "STREAM_DAY", + "regularity": [ + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0 + ], + "timesteps": [ + "2020-01-01 00:00:00", + "2021-01-01 00:00:00", + "2022-01-01 00:00:00", + "2023-01-01 00:00:00", + "2024-01-01 00:00:00", + "2024-12-01 00:00:00", + "2026-01-01 00:00:00", + "2027-01-01 00:00:00", + "2028-01-01 00:00:00", + "2029-01-01 00:00:00", + "2030-01-01 00:00:00", + "2031-01-01 00:00:00" + ], + "unit": "kg/h", + "values": [ + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null + ] + }, + "mass_rate_kg_per_hr": { + "rate_type": "STREAM_DAY", + "regularity": [ + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0 + ], + "timesteps": [ + "2020-01-01 00:00:00", + "2021-01-01 00:00:00", + "2022-01-01 00:00:00", + "2023-01-01 00:00:00", + "2024-01-01 00:00:00", + "2024-12-01 00:00:00", + "2026-01-01 00:00:00", + "2027-01-01 00:00:00", + "2028-01-01 00:00:00", + "2029-01-01 00:00:00", + "2030-01-01 00:00:00", + "2031-01-01 00:00:00" + ], + "unit": "kg/h", + "values": [ + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null + ] + }, + "outlet_stream_condition": { + "actual_rate_before_asv_m3_per_hr": { + "rate_type": "STREAM_DAY", + "regularity": [ + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0 + ], + "timesteps": [ + "2020-01-01 00:00:00", + "2021-01-01 00:00:00", + "2022-01-01 00:00:00", + "2023-01-01 00:00:00", + "2024-01-01 00:00:00", + "2024-12-01 00:00:00", + "2026-01-01 00:00:00", + "2027-01-01 00:00:00", + "2028-01-01 00:00:00", + "2029-01-01 00:00:00", + "2030-01-01 00:00:00", + "2031-01-01 00:00:00" + ], + "unit": "Am3/h", + "values": [ + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null + ] + }, + "actual_rate_m3_per_hr": { + "rate_type": "STREAM_DAY", + "regularity": [ + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0 + ], + "timesteps": [ + "2020-01-01 00:00:00", + "2021-01-01 00:00:00", + "2022-01-01 00:00:00", + "2023-01-01 00:00:00", + "2024-01-01 00:00:00", + "2024-12-01 00:00:00", + "2026-01-01 00:00:00", + "2027-01-01 00:00:00", + "2028-01-01 00:00:00", + "2029-01-01 00:00:00", + "2030-01-01 00:00:00", + "2031-01-01 00:00:00" + ], + "unit": "Am3/h", + "values": [ + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null + ] + }, + "density_kg_per_m3": { + "rate_type": "STREAM_DAY", + "regularity": [ + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0 + ], + "timesteps": [ + "2020-01-01 00:00:00", + "2021-01-01 00:00:00", + "2022-01-01 00:00:00", + "2023-01-01 00:00:00", + "2024-01-01 00:00:00", + "2024-12-01 00:00:00", + "2026-01-01 00:00:00", + "2027-01-01 00:00:00", + "2028-01-01 00:00:00", + "2029-01-01 00:00:00", + "2030-01-01 00:00:00", + "2031-01-01 00:00:00" + ], + "unit": "kg/m3", + "values": [ + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null + ] + }, + "kappa": { + "timesteps": [ + "2020-01-01 00:00:00", + "2021-01-01 00:00:00", + "2022-01-01 00:00:00", + "2023-01-01 00:00:00", + "2024-01-01 00:00:00", + "2024-12-01 00:00:00", + "2026-01-01 00:00:00", + "2027-01-01 00:00:00", + "2028-01-01 00:00:00", + "2029-01-01 00:00:00", + "2030-01-01 00:00:00", + "2031-01-01 00:00:00" + ], + "unit": "N/A", + "values": [ + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null + ] + }, + "pressure": { + "timesteps": [ + "2020-01-01 00:00:00", + "2021-01-01 00:00:00", + "2022-01-01 00:00:00", + "2023-01-01 00:00:00", + "2024-01-01 00:00:00", + "2024-12-01 00:00:00", + "2026-01-01 00:00:00", + "2027-01-01 00:00:00", + "2028-01-01 00:00:00", + "2029-01-01 00:00:00", + "2030-01-01 00:00:00", + "2031-01-01 00:00:00" + ], + "unit": "bara", + "values": [ + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null + ] + }, + "pressure_before_choking": { + "timesteps": [ + "2020-01-01 00:00:00", + "2021-01-01 00:00:00", + "2022-01-01 00:00:00", + "2023-01-01 00:00:00", + "2024-01-01 00:00:00", + "2024-12-01 00:00:00", + "2026-01-01 00:00:00", + "2027-01-01 00:00:00", + "2028-01-01 00:00:00", + "2029-01-01 00:00:00", + "2030-01-01 00:00:00", + "2031-01-01 00:00:00" + ], + "unit": "bara", + "values": [ + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null + ] + }, + "temperature_kelvin": { + "timesteps": [ + "2020-01-01 00:00:00", + "2021-01-01 00:00:00", + "2022-01-01 00:00:00", + "2023-01-01 00:00:00", + "2024-01-01 00:00:00", + "2024-12-01 00:00:00", + "2026-01-01 00:00:00", + "2027-01-01 00:00:00", + "2028-01-01 00:00:00", + "2029-01-01 00:00:00", + "2030-01-01 00:00:00", + "2031-01-01 00:00:00" + ], + "unit": "K", + "values": [ + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null + ] + }, + "z": { + "timesteps": [ + "2020-01-01 00:00:00", + "2021-01-01 00:00:00", + "2022-01-01 00:00:00", + "2023-01-01 00:00:00", + "2024-01-01 00:00:00", + "2024-12-01 00:00:00", + "2026-01-01 00:00:00", + "2027-01-01 00:00:00", + "2028-01-01 00:00:00", + "2029-01-01 00:00:00", + "2030-01-01 00:00:00", + "2031-01-01 00:00:00" + ], + "unit": "N/A", + "values": [ + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null + ] + } + }, + "polytropic_efficiency": { + "timesteps": [ + "2020-01-01 00:00:00", + "2021-01-01 00:00:00", + "2022-01-01 00:00:00", + "2023-01-01 00:00:00", + "2024-01-01 00:00:00", + "2024-12-01 00:00:00", + "2026-01-01 00:00:00", + "2027-01-01 00:00:00", + "2028-01-01 00:00:00", + "2029-01-01 00:00:00", + "2030-01-01 00:00:00", + "2031-01-01 00:00:00" + ], + "unit": "frac", + "values": [ + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null + ] + }, + "polytropic_enthalpy_change_before_choke_kJ_per_kg": { + "timesteps": [ + "2020-01-01 00:00:00", + "2021-01-01 00:00:00", + "2022-01-01 00:00:00", + "2023-01-01 00:00:00", + "2024-01-01 00:00:00", + "2024-12-01 00:00:00", + "2026-01-01 00:00:00", + "2027-01-01 00:00:00", + "2028-01-01 00:00:00", + "2029-01-01 00:00:00", + "2030-01-01 00:00:00", + "2031-01-01 00:00:00" + ], + "unit": "kJ/kg", + "values": [ + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null + ] + }, + "polytropic_enthalpy_change_kJ_per_kg": { + "timesteps": [ + "2020-01-01 00:00:00", + "2021-01-01 00:00:00", + "2022-01-01 00:00:00", + "2023-01-01 00:00:00", + "2024-01-01 00:00:00", + "2024-12-01 00:00:00", + "2026-01-01 00:00:00", + "2027-01-01 00:00:00", + "2028-01-01 00:00:00", + "2029-01-01 00:00:00", + "2030-01-01 00:00:00", + "2031-01-01 00:00:00" + ], + "unit": "kJ/kg", + "values": [ + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null + ] + }, + "polytropic_head_kJ_per_kg": { + "timesteps": [ + "2020-01-01 00:00:00", + "2021-01-01 00:00:00", + "2022-01-01 00:00:00", + "2023-01-01 00:00:00", + "2024-01-01 00:00:00", + "2024-12-01 00:00:00", + "2026-01-01 00:00:00", + "2027-01-01 00:00:00", + "2028-01-01 00:00:00", + "2029-01-01 00:00:00", + "2030-01-01 00:00:00", + "2031-01-01 00:00:00" + ], + "unit": "kJ/kg", + "values": [ + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null + ] + }, + "power": { + "rate_type": "STREAM_DAY", + "regularity": [ + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0 + ], + "timesteps": [ + "2020-01-01 00:00:00", + "2021-01-01 00:00:00", + "2022-01-01 00:00:00", + "2023-01-01 00:00:00", + "2024-01-01 00:00:00", + "2024-12-01 00:00:00", + "2026-01-01 00:00:00", + "2027-01-01 00:00:00", + "2028-01-01 00:00:00", + "2029-01-01 00:00:00", + "2030-01-01 00:00:00", + "2031-01-01 00:00:00" + ], + "unit": "MW", + "values": [ + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null + ] + }, + "power_unit": "MW", + "pressure_is_choked": { + "timesteps": [ + "2020-01-01 00:00:00", + "2021-01-01 00:00:00", + "2022-01-01 00:00:00", + "2023-01-01 00:00:00", + "2024-01-01 00:00:00", + "2024-12-01 00:00:00", + "2026-01-01 00:00:00", + "2027-01-01 00:00:00", + "2028-01-01 00:00:00", + "2029-01-01 00:00:00", + "2030-01-01 00:00:00", + "2031-01-01 00:00:00" + ], + "unit": "N/A", + "values": [ + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false + ] + }, + "rate_exceeds_maximum": { + "timesteps": [ + "2020-01-01 00:00:00", + "2021-01-01 00:00:00", + "2022-01-01 00:00:00", + "2023-01-01 00:00:00", + "2024-01-01 00:00:00", + "2024-12-01 00:00:00", + "2026-01-01 00:00:00", + "2027-01-01 00:00:00", + "2028-01-01 00:00:00", + "2029-01-01 00:00:00", + "2030-01-01 00:00:00", + "2031-01-01 00:00:00" + ], + "unit": "N/A", + "values": [ + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false + ] + }, + "rate_has_recirculation": { + "timesteps": [ + "2020-01-01 00:00:00", + "2021-01-01 00:00:00", + "2022-01-01 00:00:00", + "2023-01-01 00:00:00", + "2024-01-01 00:00:00", + "2024-12-01 00:00:00", + "2026-01-01 00:00:00", + "2027-01-01 00:00:00", + "2028-01-01 00:00:00", + "2029-01-01 00:00:00", + "2030-01-01 00:00:00", + "2031-01-01 00:00:00" + ], + "unit": "N/A", + "values": [ + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false + ] + }, + "speed": { + "timesteps": [ + "2020-01-01 00:00:00", + "2021-01-01 00:00:00", + "2022-01-01 00:00:00", + "2023-01-01 00:00:00", + "2024-01-01 00:00:00", + "2024-12-01 00:00:00", + "2026-01-01 00:00:00", + "2027-01-01 00:00:00", + "2028-01-01 00:00:00", + "2029-01-01 00:00:00", + "2030-01-01 00:00:00", + "2031-01-01 00:00:00" + ], + "unit": "RPM", + "values": [ + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null + ] + } + } + ], + "timesteps": [ + "2020-01-01 00:00:00", + "2021-01-01 00:00:00", + "2022-01-01 00:00:00", + "2023-01-01 00:00:00", + "2024-01-01 00:00:00", + "2024-12-01 00:00:00", + "2026-01-01 00:00:00", + "2027-01-01 00:00:00", + "2028-01-01 00:00:00", + "2029-01-01 00:00:00", + "2030-01-01 00:00:00", + "2031-01-01 00:00:00" + ] + }, + { + "componentType": "COMPRESSOR", + "component_level": "MODEL", + "energy_usage": { + "rate_type": "STREAM_DAY", + "regularity": [ + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0 + ], + "timesteps": [ + "2020-01-01 00:00:00", + "2021-01-01 00:00:00", + "2022-01-01 00:00:00", + "2023-01-01 00:00:00", + "2024-01-01 00:00:00", + "2024-12-01 00:00:00", + "2026-01-01 00:00:00", + "2027-01-01 00:00:00", + "2028-01-01 00:00:00", + "2029-01-01 00:00:00", + "2030-01-01 00:00:00", + "2031-01-01 00:00:00" + ], + "unit": "MW", + "values": [ + 4.89, + 5.01, + 5.13, + 5.56, + 5.72, + 6.13, + 6.25, + 6.37, + 6.52, + 6.64, + 6.8, + 6.89 + ] + }, + "energy_usage_cumulative": { + "timesteps": [ + "2020-01-01 00:00:00", + "2021-01-01 00:00:00", + "2022-01-01 00:00:00", + "2023-01-01 00:00:00", + "2024-01-01 00:00:00", + "2024-12-01 00:00:00", + "2026-01-01 00:00:00", + "2027-01-01 00:00:00", + "2028-01-01 00:00:00", + "2029-01-01 00:00:00", + "2030-01-01 00:00:00", + "2031-01-01 00:00:00" + ], + "unit": "MWd", + "values": [ + 0.0, + 1789.74, + 3618.39, + 5490.84, + 7520.24, + 9436.44, + 11863.92, + 14145.17, + 16470.22, + 18856.54, + 21280.14, + 23762.14 + ] + }, + "energy_usage_unit": "MW", + "failure_status": [ + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null + ], + "is_valid": { + "timesteps": [ + "2020-01-01 00:00:00", + "2021-01-01 00:00:00", + "2022-01-01 00:00:00", + "2023-01-01 00:00:00", + "2024-01-01 00:00:00", + "2024-12-01 00:00:00", + "2026-01-01 00:00:00", + "2027-01-01 00:00:00", + "2028-01-01 00:00:00", + "2029-01-01 00:00:00", + "2030-01-01 00:00:00", + "2031-01-01 00:00:00" + ], + "unit": "N/A", "values": [ 1.0, 1.0, @@ -1191,20 +2253,52 @@ ] }, "power_unit": "MW", - "rate_sm3_day": [ - 233000000.0, - 237000000.0, - 241000000.0, - 254000000.0, - 258000000.0, - 271000000.0, - 275000000.0, - 279000000.0, - 283000000.0, - 286000000.0, - 290000000.0, - 293000000.0 - ], + "rate": { + "rate_type": "STREAM_DAY", + "regularity": [ + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0 + ], + "timesteps": [ + "2020-01-01 00:00:00", + "2021-01-01 00:00:00", + "2022-01-01 00:00:00", + "2023-01-01 00:00:00", + "2024-01-01 00:00:00", + "2024-12-01 00:00:00", + "2026-01-01 00:00:00", + "2027-01-01 00:00:00", + "2028-01-01 00:00:00", + "2029-01-01 00:00:00", + "2030-01-01 00:00:00", + "2031-01-01 00:00:00" + ], + "unit": "Sm3/d", + "values": [ + 233000000.0, + 237000000.0, + 241000000.0, + 254000000.0, + 258000000.0, + 271000000.0, + 275000000.0, + 279000000.0, + 283000000.0, + 286000000.0, + 290000000.0, + 293000000.0 + ] + }, "requested_inlet_pressure": { "timesteps": [ "2020-01-01 00:00:00", @@ -1269,20 +2363,52 @@ }, "stage_results": [ { - "asv_recirculation_loss_mw": [ - 0.0, - 0.0, - 0.0, - 0.0, - 0.0, - 0.0, - 0.0, - 0.0, - 0.0, - 0.0, - 0.0, - 0.0 - ], + "asv_recirculation_loss_mw": { + "rate_type": "STREAM_DAY", + "regularity": [ + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0 + ], + "timesteps": [ + "2020-01-01 00:00:00", + "2021-01-01 00:00:00", + "2022-01-01 00:00:00", + "2023-01-01 00:00:00", + "2024-01-01 00:00:00", + "2024-12-01 00:00:00", + "2026-01-01 00:00:00", + "2027-01-01 00:00:00", + "2028-01-01 00:00:00", + "2029-01-01 00:00:00", + "2030-01-01 00:00:00", + "2031-01-01 00:00:00" + ], + "unit": "MW", + "values": [ + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0 + ] + }, "chart_area_flags": [ "NOT_CALCULATED", "NOT_CALCULATED", @@ -1297,109 +2423,1093 @@ "NOT_CALCULATED", "NOT_CALCULATED" ], - "energy_usage": [ - 4.89, - 5.01, - 5.13, - 5.5600000000000005, - 5.72, - 6.13, - 6.25, - 6.37, - 6.5200000000000005, - 6.64, - 6.8, - 6.89 - ], + "energy_usage": { + "rate_type": "STREAM_DAY", + "regularity": [ + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0 + ], + "timesteps": [ + "2020-01-01 00:00:00", + "2021-01-01 00:00:00", + "2022-01-01 00:00:00", + "2023-01-01 00:00:00", + "2024-01-01 00:00:00", + "2024-12-01 00:00:00", + "2026-01-01 00:00:00", + "2027-01-01 00:00:00", + "2028-01-01 00:00:00", + "2029-01-01 00:00:00", + "2030-01-01 00:00:00", + "2031-01-01 00:00:00" + ], + "unit": "MW", + "values": [ + 4.89, + 5.01, + 5.13, + 5.5600000000000005, + 5.72, + 6.13, + 6.25, + 6.37, + 6.5200000000000005, + 6.64, + 6.8, + 6.89 + ] + }, "energy_usage_unit": "MW", "fluid_composition": {}, - "head_exceeds_maximum": [ - false, - false, - false, - false, - false, - false, - false, - false, - false, - false, - false, - false - ], - "inlet_stream_condition": {}, - "is_valid": [ - true, - true, - true, - true, - true, - true, - true, - true, - true, - true, - true, - true - ], - "outlet_stream_condition": {}, - "power": [ - 4.89, - 5.01, - 5.13, - 5.5600000000000005, - 5.72, - 6.13, - 6.25, - 6.37, - 6.5200000000000005, - 6.64, - 6.8, - 6.89 - ], + "head_exceeds_maximum": { + "timesteps": [ + "2020-01-01 00:00:00", + "2021-01-01 00:00:00", + "2022-01-01 00:00:00", + "2023-01-01 00:00:00", + "2024-01-01 00:00:00", + "2024-12-01 00:00:00", + "2026-01-01 00:00:00", + "2027-01-01 00:00:00", + "2028-01-01 00:00:00", + "2029-01-01 00:00:00", + "2030-01-01 00:00:00", + "2031-01-01 00:00:00" + ], + "unit": "N/A", + "values": [ + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false + ] + }, + "inlet_stream_condition": { + "actual_rate_before_asv_m3_per_hr": { + "rate_type": "STREAM_DAY", + "regularity": [ + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0 + ], + "timesteps": [ + "2020-01-01 00:00:00", + "2021-01-01 00:00:00", + "2022-01-01 00:00:00", + "2023-01-01 00:00:00", + "2024-01-01 00:00:00", + "2024-12-01 00:00:00", + "2026-01-01 00:00:00", + "2027-01-01 00:00:00", + "2028-01-01 00:00:00", + "2029-01-01 00:00:00", + "2030-01-01 00:00:00", + "2031-01-01 00:00:00" + ], + "unit": "Am3/h", + "values": [ + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null + ] + }, + "actual_rate_m3_per_hr": { + "rate_type": "STREAM_DAY", + "regularity": [ + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0 + ], + "timesteps": [ + "2020-01-01 00:00:00", + "2021-01-01 00:00:00", + "2022-01-01 00:00:00", + "2023-01-01 00:00:00", + "2024-01-01 00:00:00", + "2024-12-01 00:00:00", + "2026-01-01 00:00:00", + "2027-01-01 00:00:00", + "2028-01-01 00:00:00", + "2029-01-01 00:00:00", + "2030-01-01 00:00:00", + "2031-01-01 00:00:00" + ], + "unit": "Am3/h", + "values": [ + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null + ] + }, + "density_kg_per_m3": { + "rate_type": "STREAM_DAY", + "regularity": [ + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0 + ], + "timesteps": [ + "2020-01-01 00:00:00", + "2021-01-01 00:00:00", + "2022-01-01 00:00:00", + "2023-01-01 00:00:00", + "2024-01-01 00:00:00", + "2024-12-01 00:00:00", + "2026-01-01 00:00:00", + "2027-01-01 00:00:00", + "2028-01-01 00:00:00", + "2029-01-01 00:00:00", + "2030-01-01 00:00:00", + "2031-01-01 00:00:00" + ], + "unit": "kg/m3", + "values": [ + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null + ] + }, + "kappa": { + "timesteps": [ + "2020-01-01 00:00:00", + "2021-01-01 00:00:00", + "2022-01-01 00:00:00", + "2023-01-01 00:00:00", + "2024-01-01 00:00:00", + "2024-12-01 00:00:00", + "2026-01-01 00:00:00", + "2027-01-01 00:00:00", + "2028-01-01 00:00:00", + "2029-01-01 00:00:00", + "2030-01-01 00:00:00", + "2031-01-01 00:00:00" + ], + "unit": "N/A", + "values": [ + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null + ] + }, + "pressure": { + "timesteps": [ + "2020-01-01 00:00:00", + "2021-01-01 00:00:00", + "2022-01-01 00:00:00", + "2023-01-01 00:00:00", + "2024-01-01 00:00:00", + "2024-12-01 00:00:00", + "2026-01-01 00:00:00", + "2027-01-01 00:00:00", + "2028-01-01 00:00:00", + "2029-01-01 00:00:00", + "2030-01-01 00:00:00", + "2031-01-01 00:00:00" + ], + "unit": "bara", + "values": [ + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null + ] + }, + "pressure_before_choking": { + "timesteps": [ + "2020-01-01 00:00:00", + "2021-01-01 00:00:00", + "2022-01-01 00:00:00", + "2023-01-01 00:00:00", + "2024-01-01 00:00:00", + "2024-12-01 00:00:00", + "2026-01-01 00:00:00", + "2027-01-01 00:00:00", + "2028-01-01 00:00:00", + "2029-01-01 00:00:00", + "2030-01-01 00:00:00", + "2031-01-01 00:00:00" + ], + "unit": "bara", + "values": [ + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null + ] + }, + "temperature_kelvin": { + "timesteps": [ + "2020-01-01 00:00:00", + "2021-01-01 00:00:00", + "2022-01-01 00:00:00", + "2023-01-01 00:00:00", + "2024-01-01 00:00:00", + "2024-12-01 00:00:00", + "2026-01-01 00:00:00", + "2027-01-01 00:00:00", + "2028-01-01 00:00:00", + "2029-01-01 00:00:00", + "2030-01-01 00:00:00", + "2031-01-01 00:00:00" + ], + "unit": "K", + "values": [ + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null + ] + }, + "z": { + "timesteps": [ + "2020-01-01 00:00:00", + "2021-01-01 00:00:00", + "2022-01-01 00:00:00", + "2023-01-01 00:00:00", + "2024-01-01 00:00:00", + "2024-12-01 00:00:00", + "2026-01-01 00:00:00", + "2027-01-01 00:00:00", + "2028-01-01 00:00:00", + "2029-01-01 00:00:00", + "2030-01-01 00:00:00", + "2031-01-01 00:00:00" + ], + "unit": "N/A", + "values": [ + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null + ] + } + }, + "is_valid": { + "timesteps": [ + "2020-01-01 00:00:00", + "2021-01-01 00:00:00", + "2022-01-01 00:00:00", + "2023-01-01 00:00:00", + "2024-01-01 00:00:00", + "2024-12-01 00:00:00", + "2026-01-01 00:00:00", + "2027-01-01 00:00:00", + "2028-01-01 00:00:00", + "2029-01-01 00:00:00", + "2030-01-01 00:00:00", + "2031-01-01 00:00:00" + ], + "unit": "N/A", + "values": [ + true, + true, + true, + true, + true, + true, + true, + true, + true, + true, + true, + true + ] + }, + "mass_rate_before_asv_kg_per_hr": { + "rate_type": "STREAM_DAY", + "regularity": [ + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0 + ], + "timesteps": [ + "2020-01-01 00:00:00", + "2021-01-01 00:00:00", + "2022-01-01 00:00:00", + "2023-01-01 00:00:00", + "2024-01-01 00:00:00", + "2024-12-01 00:00:00", + "2026-01-01 00:00:00", + "2027-01-01 00:00:00", + "2028-01-01 00:00:00", + "2029-01-01 00:00:00", + "2030-01-01 00:00:00", + "2031-01-01 00:00:00" + ], + "unit": "kg/h", + "values": [ + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null + ] + }, + "mass_rate_kg_per_hr": { + "rate_type": "STREAM_DAY", + "regularity": [ + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0 + ], + "timesteps": [ + "2020-01-01 00:00:00", + "2021-01-01 00:00:00", + "2022-01-01 00:00:00", + "2023-01-01 00:00:00", + "2024-01-01 00:00:00", + "2024-12-01 00:00:00", + "2026-01-01 00:00:00", + "2027-01-01 00:00:00", + "2028-01-01 00:00:00", + "2029-01-01 00:00:00", + "2030-01-01 00:00:00", + "2031-01-01 00:00:00" + ], + "unit": "kg/h", + "values": [ + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null + ] + }, + "outlet_stream_condition": { + "actual_rate_before_asv_m3_per_hr": { + "rate_type": "STREAM_DAY", + "regularity": [ + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0 + ], + "timesteps": [ + "2020-01-01 00:00:00", + "2021-01-01 00:00:00", + "2022-01-01 00:00:00", + "2023-01-01 00:00:00", + "2024-01-01 00:00:00", + "2024-12-01 00:00:00", + "2026-01-01 00:00:00", + "2027-01-01 00:00:00", + "2028-01-01 00:00:00", + "2029-01-01 00:00:00", + "2030-01-01 00:00:00", + "2031-01-01 00:00:00" + ], + "unit": "Am3/h", + "values": [ + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null + ] + }, + "actual_rate_m3_per_hr": { + "rate_type": "STREAM_DAY", + "regularity": [ + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0 + ], + "timesteps": [ + "2020-01-01 00:00:00", + "2021-01-01 00:00:00", + "2022-01-01 00:00:00", + "2023-01-01 00:00:00", + "2024-01-01 00:00:00", + "2024-12-01 00:00:00", + "2026-01-01 00:00:00", + "2027-01-01 00:00:00", + "2028-01-01 00:00:00", + "2029-01-01 00:00:00", + "2030-01-01 00:00:00", + "2031-01-01 00:00:00" + ], + "unit": "Am3/h", + "values": [ + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null + ] + }, + "density_kg_per_m3": { + "rate_type": "STREAM_DAY", + "regularity": [ + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0 + ], + "timesteps": [ + "2020-01-01 00:00:00", + "2021-01-01 00:00:00", + "2022-01-01 00:00:00", + "2023-01-01 00:00:00", + "2024-01-01 00:00:00", + "2024-12-01 00:00:00", + "2026-01-01 00:00:00", + "2027-01-01 00:00:00", + "2028-01-01 00:00:00", + "2029-01-01 00:00:00", + "2030-01-01 00:00:00", + "2031-01-01 00:00:00" + ], + "unit": "kg/m3", + "values": [ + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null + ] + }, + "kappa": { + "timesteps": [ + "2020-01-01 00:00:00", + "2021-01-01 00:00:00", + "2022-01-01 00:00:00", + "2023-01-01 00:00:00", + "2024-01-01 00:00:00", + "2024-12-01 00:00:00", + "2026-01-01 00:00:00", + "2027-01-01 00:00:00", + "2028-01-01 00:00:00", + "2029-01-01 00:00:00", + "2030-01-01 00:00:00", + "2031-01-01 00:00:00" + ], + "unit": "N/A", + "values": [ + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null + ] + }, + "pressure": { + "timesteps": [ + "2020-01-01 00:00:00", + "2021-01-01 00:00:00", + "2022-01-01 00:00:00", + "2023-01-01 00:00:00", + "2024-01-01 00:00:00", + "2024-12-01 00:00:00", + "2026-01-01 00:00:00", + "2027-01-01 00:00:00", + "2028-01-01 00:00:00", + "2029-01-01 00:00:00", + "2030-01-01 00:00:00", + "2031-01-01 00:00:00" + ], + "unit": "bara", + "values": [ + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null + ] + }, + "pressure_before_choking": { + "timesteps": [ + "2020-01-01 00:00:00", + "2021-01-01 00:00:00", + "2022-01-01 00:00:00", + "2023-01-01 00:00:00", + "2024-01-01 00:00:00", + "2024-12-01 00:00:00", + "2026-01-01 00:00:00", + "2027-01-01 00:00:00", + "2028-01-01 00:00:00", + "2029-01-01 00:00:00", + "2030-01-01 00:00:00", + "2031-01-01 00:00:00" + ], + "unit": "bara", + "values": [ + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null + ] + }, + "temperature_kelvin": { + "timesteps": [ + "2020-01-01 00:00:00", + "2021-01-01 00:00:00", + "2022-01-01 00:00:00", + "2023-01-01 00:00:00", + "2024-01-01 00:00:00", + "2024-12-01 00:00:00", + "2026-01-01 00:00:00", + "2027-01-01 00:00:00", + "2028-01-01 00:00:00", + "2029-01-01 00:00:00", + "2030-01-01 00:00:00", + "2031-01-01 00:00:00" + ], + "unit": "K", + "values": [ + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null + ] + }, + "z": { + "timesteps": [ + "2020-01-01 00:00:00", + "2021-01-01 00:00:00", + "2022-01-01 00:00:00", + "2023-01-01 00:00:00", + "2024-01-01 00:00:00", + "2024-12-01 00:00:00", + "2026-01-01 00:00:00", + "2027-01-01 00:00:00", + "2028-01-01 00:00:00", + "2029-01-01 00:00:00", + "2030-01-01 00:00:00", + "2031-01-01 00:00:00" + ], + "unit": "N/A", + "values": [ + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null + ] + } + }, + "polytropic_efficiency": { + "timesteps": [ + "2020-01-01 00:00:00", + "2021-01-01 00:00:00", + "2022-01-01 00:00:00", + "2023-01-01 00:00:00", + "2024-01-01 00:00:00", + "2024-12-01 00:00:00", + "2026-01-01 00:00:00", + "2027-01-01 00:00:00", + "2028-01-01 00:00:00", + "2029-01-01 00:00:00", + "2030-01-01 00:00:00", + "2031-01-01 00:00:00" + ], + "unit": "frac", + "values": [ + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null + ] + }, + "polytropic_enthalpy_change_before_choke_kJ_per_kg": { + "timesteps": [ + "2020-01-01 00:00:00", + "2021-01-01 00:00:00", + "2022-01-01 00:00:00", + "2023-01-01 00:00:00", + "2024-01-01 00:00:00", + "2024-12-01 00:00:00", + "2026-01-01 00:00:00", + "2027-01-01 00:00:00", + "2028-01-01 00:00:00", + "2029-01-01 00:00:00", + "2030-01-01 00:00:00", + "2031-01-01 00:00:00" + ], + "unit": "kJ/kg", + "values": [ + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null + ] + }, + "polytropic_enthalpy_change_kJ_per_kg": { + "timesteps": [ + "2020-01-01 00:00:00", + "2021-01-01 00:00:00", + "2022-01-01 00:00:00", + "2023-01-01 00:00:00", + "2024-01-01 00:00:00", + "2024-12-01 00:00:00", + "2026-01-01 00:00:00", + "2027-01-01 00:00:00", + "2028-01-01 00:00:00", + "2029-01-01 00:00:00", + "2030-01-01 00:00:00", + "2031-01-01 00:00:00" + ], + "unit": "kJ/kg", + "values": [ + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null + ] + }, + "polytropic_head_kJ_per_kg": { + "timesteps": [ + "2020-01-01 00:00:00", + "2021-01-01 00:00:00", + "2022-01-01 00:00:00", + "2023-01-01 00:00:00", + "2024-01-01 00:00:00", + "2024-12-01 00:00:00", + "2026-01-01 00:00:00", + "2027-01-01 00:00:00", + "2028-01-01 00:00:00", + "2029-01-01 00:00:00", + "2030-01-01 00:00:00", + "2031-01-01 00:00:00" + ], + "unit": "kJ/kg", + "values": [ + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null + ] + }, + "power": { + "rate_type": "STREAM_DAY", + "regularity": [ + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0 + ], + "timesteps": [ + "2020-01-01 00:00:00", + "2021-01-01 00:00:00", + "2022-01-01 00:00:00", + "2023-01-01 00:00:00", + "2024-01-01 00:00:00", + "2024-12-01 00:00:00", + "2026-01-01 00:00:00", + "2027-01-01 00:00:00", + "2028-01-01 00:00:00", + "2029-01-01 00:00:00", + "2030-01-01 00:00:00", + "2031-01-01 00:00:00" + ], + "unit": "MW", + "values": [ + 4.89, + 5.01, + 5.13, + 5.5600000000000005, + 5.72, + 6.13, + 6.25, + 6.37, + 6.5200000000000005, + 6.64, + 6.8, + 6.89 + ] + }, "power_unit": "MW", - "pressure_is_choked": [ - false, - false, - false, - false, - false, - false, - false, - false, - false, - false, - false, - false - ], - "rate_exceeds_maximum": [ - false, - false, - false, - false, - false, - false, - false, - false, - false, - false, - false, - false - ], - "rate_has_recirculation": [ - false, - false, - false, - false, - false, - false, - false, - false, - false, - false, - false, - false - ] + "pressure_is_choked": { + "timesteps": [ + "2020-01-01 00:00:00", + "2021-01-01 00:00:00", + "2022-01-01 00:00:00", + "2023-01-01 00:00:00", + "2024-01-01 00:00:00", + "2024-12-01 00:00:00", + "2026-01-01 00:00:00", + "2027-01-01 00:00:00", + "2028-01-01 00:00:00", + "2029-01-01 00:00:00", + "2030-01-01 00:00:00", + "2031-01-01 00:00:00" + ], + "unit": "N/A", + "values": [ + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false + ] + }, + "rate_exceeds_maximum": { + "timesteps": [ + "2020-01-01 00:00:00", + "2021-01-01 00:00:00", + "2022-01-01 00:00:00", + "2023-01-01 00:00:00", + "2024-01-01 00:00:00", + "2024-12-01 00:00:00", + "2026-01-01 00:00:00", + "2027-01-01 00:00:00", + "2028-01-01 00:00:00", + "2029-01-01 00:00:00", + "2030-01-01 00:00:00", + "2031-01-01 00:00:00" + ], + "unit": "N/A", + "values": [ + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false + ] + }, + "rate_has_recirculation": { + "timesteps": [ + "2020-01-01 00:00:00", + "2021-01-01 00:00:00", + "2022-01-01 00:00:00", + "2023-01-01 00:00:00", + "2024-01-01 00:00:00", + "2024-12-01 00:00:00", + "2026-01-01 00:00:00", + "2027-01-01 00:00:00", + "2028-01-01 00:00:00", + "2029-01-01 00:00:00", + "2030-01-01 00:00:00", + "2031-01-01 00:00:00" + ], + "unit": "N/A", + "values": [ + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false + ] + }, + "speed": { + "timesteps": [ + "2020-01-01 00:00:00", + "2021-01-01 00:00:00", + "2022-01-01 00:00:00", + "2023-01-01 00:00:00", + "2024-01-01 00:00:00", + "2024-12-01 00:00:00", + "2026-01-01 00:00:00", + "2027-01-01 00:00:00", + "2028-01-01 00:00:00", + "2029-01-01 00:00:00", + "2030-01-01 00:00:00", + "2031-01-01 00:00:00" + ], + "unit": "RPM", + "values": [ + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null + ] + } } ], "timesteps": [ diff --git a/src/tests/ecalc_cli/snapshots/test_app/test_json_true_detailed_output/test_full_json_v3.json b/src/tests/ecalc_cli/snapshots/test_app/test_json_true_detailed_output/test_full_json_v3.json index 7df48a791f..c3544da040 100644 --- a/src/tests/ecalc_cli/snapshots/test_app/test_json_true_detailed_output/test_full_json_v3.json +++ b/src/tests/ecalc_cli/snapshots/test_app/test_json_true_detailed_output/test_full_json_v3.json @@ -773,20 +773,52 @@ "name": "Gas export compressor", "parent": "a549932c65ddb3c5726af8fc99301ce5", "power_unit": "MW", - "rate_sm3_day": [ - 3500000.0, - 3600000.0, - 3700000.0, - 3800000.0, - 3900000.0, - 4000000.0, - 4100000.0, - 4500000.0, - 3500000.0, - 2500000.0, - 2000000.0, - 3000000.0 - ], + "rate": { + "rate_type": "STREAM_DAY", + "regularity": [ + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0 + ], + "timesteps": [ + "2020-01-01 00:00:00", + "2021-01-01 00:00:00", + "2022-01-01 00:00:00", + "2023-01-01 00:00:00", + "2024-01-01 00:00:00", + "2024-12-01 00:00:00", + "2026-01-01 00:00:00", + "2027-01-01 00:00:00", + "2028-01-01 00:00:00", + "2029-01-01 00:00:00", + "2030-01-01 00:00:00", + "2031-01-01 00:00:00" + ], + "unit": "Sm3/d", + "values": [ + 3500000.0, + 3600000.0, + 3700000.0, + 3800000.0, + 3900000.0, + 4000000.0, + 4100000.0, + 4500000.0, + 3500000.0, + 2500000.0, + 2000000.0, + 3000000.0 + ] + }, "requested_inlet_pressure": { "timesteps": [ "2020-01-01 00:00:00", @@ -851,20 +883,52 @@ }, "stage_results": [ { - "asv_recirculation_loss_mw": [ - 0.0, - 0.0, - 0.0, - 0.0, - 0.0, - 0.0, - 0.0, - 0.0, - 0.0, - 0.0, - 0.0, - 0.0 - ], + "asv_recirculation_loss_mw": { + "rate_type": "STREAM_DAY", + "regularity": [ + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0 + ], + "timesteps": [ + "2020-01-01 00:00:00", + "2021-01-01 00:00:00", + "2022-01-01 00:00:00", + "2023-01-01 00:00:00", + "2024-01-01 00:00:00", + "2024-12-01 00:00:00", + "2026-01-01 00:00:00", + "2027-01-01 00:00:00", + "2028-01-01 00:00:00", + "2029-01-01 00:00:00", + "2030-01-01 00:00:00", + "2031-01-01 00:00:00" + ], + "unit": "MW", + "values": [ + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0 + ] + }, "chart_area_flags": [ "NOT_CALCULATED", "NOT_CALCULATED", @@ -879,223 +943,1221 @@ "NOT_CALCULATED", "NOT_CALCULATED" ], - "energy_usage": [ - 130000.0, - 131142.85714285713, - 132285.7142857143, - 133428.57142857142, - 134571.42857142858, - 135714.2857142857, - 136857.14285714287, - 141428.57142857142, - 130000.0, - 50000.0, - 50000.0, - 50000.0 - ], + "energy_usage": { + "rate_type": "STREAM_DAY", + "regularity": [ + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0 + ], + "timesteps": [ + "2020-01-01 00:00:00", + "2021-01-01 00:00:00", + "2022-01-01 00:00:00", + "2023-01-01 00:00:00", + "2024-01-01 00:00:00", + "2024-12-01 00:00:00", + "2026-01-01 00:00:00", + "2027-01-01 00:00:00", + "2028-01-01 00:00:00", + "2029-01-01 00:00:00", + "2030-01-01 00:00:00", + "2031-01-01 00:00:00" + ], + "unit": "Sm3/d", + "values": [ + 130000.0, + 131142.85714285713, + 132285.7142857143, + 133428.57142857142, + 134571.42857142858, + 135714.2857142857, + 136857.14285714287, + 141428.57142857142, + 130000.0, + 50000.0, + 50000.0, + 50000.0 + ] + }, "energy_usage_unit": "Sm3/d", "fluid_composition": {}, - "head_exceeds_maximum": [ - false, - false, - false, - false, - false, - false, - false, - false, - false, - false, - false, - false - ], - "inlet_stream_condition": {}, - "is_valid": [ - true, - true, - true, - true, - true, - true, - true, - true, - true, - true, - true, - true - ], - "outlet_stream_condition": {}, - "power_unit": "MW", - "pressure_is_choked": [ - false, - false, - false, - false, - false, - false, - false, - false, - false, - false, - false, - false - ], - "rate_exceeds_maximum": [ - false, - false, - false, - false, - false, - false, - false, - false, - false, - false, - false, - false - ], - "rate_has_recirculation": [ - false, - false, - false, - false, - false, - false, - false, - false, - false, - false, - false, - false - ] - } - ], - "timesteps": [ - "2020-01-01 00:00:00", - "2021-01-01 00:00:00", - "2022-01-01 00:00:00", - "2023-01-01 00:00:00", - "2024-01-01 00:00:00", - "2024-12-01 00:00:00", - "2026-01-01 00:00:00", - "2027-01-01 00:00:00", - "2028-01-01 00:00:00", - "2029-01-01 00:00:00", - "2030-01-01 00:00:00", - "2031-01-01 00:00:00" - ] - }, - { - "componentType": "COMPRESSOR", - "component_level": "MODEL", - "energy_usage": { - "rate_type": "STREAM_DAY", - "regularity": [ - 1.0, - 1.0, - 1.0, - 1.0, - 1.0, - 1.0, - 1.0, - 1.0, - 1.0, - 1.0, - 1.0, - 1.0 - ], - "timesteps": [ - "2020-01-01 00:00:00", - "2021-01-01 00:00:00", - "2022-01-01 00:00:00", - "2023-01-01 00:00:00", - "2024-01-01 00:00:00", - "2024-12-01 00:00:00", - "2026-01-01 00:00:00", - "2027-01-01 00:00:00", - "2028-01-01 00:00:00", - "2029-01-01 00:00:00", - "2030-01-01 00:00:00", - "2031-01-01 00:00:00" - ], - "unit": "MW", - "values": [ - 4.89, - 5.01, - 5.13, - 5.56, - 5.72, - 6.13, - 6.25, - 6.37, - 6.52, - 6.64, - 6.8, - 6.89 - ] - }, - "energy_usage_cumulative": { - "timesteps": [ - "2020-01-01 00:00:00", - "2021-01-01 00:00:00", - "2022-01-01 00:00:00", - "2023-01-01 00:00:00", - "2024-01-01 00:00:00", - "2024-12-01 00:00:00", - "2026-01-01 00:00:00", - "2027-01-01 00:00:00", - "2028-01-01 00:00:00", - "2029-01-01 00:00:00", - "2030-01-01 00:00:00", - "2031-01-01 00:00:00" - ], - "unit": "MWd", - "values": [ - 0.0, - 1789.74, - 3618.39, - 5490.84, - 7520.24, - 9436.44, - 11863.92, - 14145.17, - 16470.22, - 18856.54, - 21280.14, - 23762.14 - ] - }, - "energy_usage_unit": "MW", - "failure_status": [ - null, - null, - null, - null, - null, - null, - null, - null, - null, - null, - null, - null - ], - "is_valid": { - "timesteps": [ - "2020-01-01 00:00:00", - "2021-01-01 00:00:00", - "2022-01-01 00:00:00", - "2023-01-01 00:00:00", - "2024-01-01 00:00:00", - "2024-12-01 00:00:00", - "2026-01-01 00:00:00", - "2027-01-01 00:00:00", - "2028-01-01 00:00:00", - "2029-01-01 00:00:00", - "2030-01-01 00:00:00", - "2031-01-01 00:00:00" - ], - "unit": "N/A", + "head_exceeds_maximum": { + "timesteps": [ + "2020-01-01 00:00:00", + "2021-01-01 00:00:00", + "2022-01-01 00:00:00", + "2023-01-01 00:00:00", + "2024-01-01 00:00:00", + "2024-12-01 00:00:00", + "2026-01-01 00:00:00", + "2027-01-01 00:00:00", + "2028-01-01 00:00:00", + "2029-01-01 00:00:00", + "2030-01-01 00:00:00", + "2031-01-01 00:00:00" + ], + "unit": "N/A", + "values": [ + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false + ] + }, + "inlet_stream_condition": { + "actual_rate_before_asv_m3_per_hr": { + "rate_type": "STREAM_DAY", + "regularity": [ + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0 + ], + "timesteps": [ + "2020-01-01 00:00:00", + "2021-01-01 00:00:00", + "2022-01-01 00:00:00", + "2023-01-01 00:00:00", + "2024-01-01 00:00:00", + "2024-12-01 00:00:00", + "2026-01-01 00:00:00", + "2027-01-01 00:00:00", + "2028-01-01 00:00:00", + "2029-01-01 00:00:00", + "2030-01-01 00:00:00", + "2031-01-01 00:00:00" + ], + "unit": "Am3/h", + "values": [ + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null + ] + }, + "actual_rate_m3_per_hr": { + "rate_type": "STREAM_DAY", + "regularity": [ + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0 + ], + "timesteps": [ + "2020-01-01 00:00:00", + "2021-01-01 00:00:00", + "2022-01-01 00:00:00", + "2023-01-01 00:00:00", + "2024-01-01 00:00:00", + "2024-12-01 00:00:00", + "2026-01-01 00:00:00", + "2027-01-01 00:00:00", + "2028-01-01 00:00:00", + "2029-01-01 00:00:00", + "2030-01-01 00:00:00", + "2031-01-01 00:00:00" + ], + "unit": "Am3/h", + "values": [ + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null + ] + }, + "density_kg_per_m3": { + "rate_type": "STREAM_DAY", + "regularity": [ + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0 + ], + "timesteps": [ + "2020-01-01 00:00:00", + "2021-01-01 00:00:00", + "2022-01-01 00:00:00", + "2023-01-01 00:00:00", + "2024-01-01 00:00:00", + "2024-12-01 00:00:00", + "2026-01-01 00:00:00", + "2027-01-01 00:00:00", + "2028-01-01 00:00:00", + "2029-01-01 00:00:00", + "2030-01-01 00:00:00", + "2031-01-01 00:00:00" + ], + "unit": "kg/m3", + "values": [ + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null + ] + }, + "kappa": { + "timesteps": [ + "2020-01-01 00:00:00", + "2021-01-01 00:00:00", + "2022-01-01 00:00:00", + "2023-01-01 00:00:00", + "2024-01-01 00:00:00", + "2024-12-01 00:00:00", + "2026-01-01 00:00:00", + "2027-01-01 00:00:00", + "2028-01-01 00:00:00", + "2029-01-01 00:00:00", + "2030-01-01 00:00:00", + "2031-01-01 00:00:00" + ], + "unit": "N/A", + "values": [ + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null + ] + }, + "pressure": { + "timesteps": [ + "2020-01-01 00:00:00", + "2021-01-01 00:00:00", + "2022-01-01 00:00:00", + "2023-01-01 00:00:00", + "2024-01-01 00:00:00", + "2024-12-01 00:00:00", + "2026-01-01 00:00:00", + "2027-01-01 00:00:00", + "2028-01-01 00:00:00", + "2029-01-01 00:00:00", + "2030-01-01 00:00:00", + "2031-01-01 00:00:00" + ], + "unit": "bara", + "values": [ + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null + ] + }, + "pressure_before_choking": { + "timesteps": [ + "2020-01-01 00:00:00", + "2021-01-01 00:00:00", + "2022-01-01 00:00:00", + "2023-01-01 00:00:00", + "2024-01-01 00:00:00", + "2024-12-01 00:00:00", + "2026-01-01 00:00:00", + "2027-01-01 00:00:00", + "2028-01-01 00:00:00", + "2029-01-01 00:00:00", + "2030-01-01 00:00:00", + "2031-01-01 00:00:00" + ], + "unit": "bara", + "values": [ + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null + ] + }, + "temperature_kelvin": { + "timesteps": [ + "2020-01-01 00:00:00", + "2021-01-01 00:00:00", + "2022-01-01 00:00:00", + "2023-01-01 00:00:00", + "2024-01-01 00:00:00", + "2024-12-01 00:00:00", + "2026-01-01 00:00:00", + "2027-01-01 00:00:00", + "2028-01-01 00:00:00", + "2029-01-01 00:00:00", + "2030-01-01 00:00:00", + "2031-01-01 00:00:00" + ], + "unit": "K", + "values": [ + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null + ] + }, + "z": { + "timesteps": [ + "2020-01-01 00:00:00", + "2021-01-01 00:00:00", + "2022-01-01 00:00:00", + "2023-01-01 00:00:00", + "2024-01-01 00:00:00", + "2024-12-01 00:00:00", + "2026-01-01 00:00:00", + "2027-01-01 00:00:00", + "2028-01-01 00:00:00", + "2029-01-01 00:00:00", + "2030-01-01 00:00:00", + "2031-01-01 00:00:00" + ], + "unit": "N/A", + "values": [ + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null + ] + } + }, + "is_valid": { + "timesteps": [ + "2020-01-01 00:00:00", + "2021-01-01 00:00:00", + "2022-01-01 00:00:00", + "2023-01-01 00:00:00", + "2024-01-01 00:00:00", + "2024-12-01 00:00:00", + "2026-01-01 00:00:00", + "2027-01-01 00:00:00", + "2028-01-01 00:00:00", + "2029-01-01 00:00:00", + "2030-01-01 00:00:00", + "2031-01-01 00:00:00" + ], + "unit": "N/A", + "values": [ + true, + true, + true, + true, + true, + true, + true, + true, + true, + true, + true, + true + ] + }, + "mass_rate_before_asv_kg_per_hr": { + "rate_type": "STREAM_DAY", + "regularity": [ + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0 + ], + "timesteps": [ + "2020-01-01 00:00:00", + "2021-01-01 00:00:00", + "2022-01-01 00:00:00", + "2023-01-01 00:00:00", + "2024-01-01 00:00:00", + "2024-12-01 00:00:00", + "2026-01-01 00:00:00", + "2027-01-01 00:00:00", + "2028-01-01 00:00:00", + "2029-01-01 00:00:00", + "2030-01-01 00:00:00", + "2031-01-01 00:00:00" + ], + "unit": "kg/h", + "values": [ + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null + ] + }, + "mass_rate_kg_per_hr": { + "rate_type": "STREAM_DAY", + "regularity": [ + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0 + ], + "timesteps": [ + "2020-01-01 00:00:00", + "2021-01-01 00:00:00", + "2022-01-01 00:00:00", + "2023-01-01 00:00:00", + "2024-01-01 00:00:00", + "2024-12-01 00:00:00", + "2026-01-01 00:00:00", + "2027-01-01 00:00:00", + "2028-01-01 00:00:00", + "2029-01-01 00:00:00", + "2030-01-01 00:00:00", + "2031-01-01 00:00:00" + ], + "unit": "kg/h", + "values": [ + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null + ] + }, + "outlet_stream_condition": { + "actual_rate_before_asv_m3_per_hr": { + "rate_type": "STREAM_DAY", + "regularity": [ + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0 + ], + "timesteps": [ + "2020-01-01 00:00:00", + "2021-01-01 00:00:00", + "2022-01-01 00:00:00", + "2023-01-01 00:00:00", + "2024-01-01 00:00:00", + "2024-12-01 00:00:00", + "2026-01-01 00:00:00", + "2027-01-01 00:00:00", + "2028-01-01 00:00:00", + "2029-01-01 00:00:00", + "2030-01-01 00:00:00", + "2031-01-01 00:00:00" + ], + "unit": "Am3/h", + "values": [ + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null + ] + }, + "actual_rate_m3_per_hr": { + "rate_type": "STREAM_DAY", + "regularity": [ + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0 + ], + "timesteps": [ + "2020-01-01 00:00:00", + "2021-01-01 00:00:00", + "2022-01-01 00:00:00", + "2023-01-01 00:00:00", + "2024-01-01 00:00:00", + "2024-12-01 00:00:00", + "2026-01-01 00:00:00", + "2027-01-01 00:00:00", + "2028-01-01 00:00:00", + "2029-01-01 00:00:00", + "2030-01-01 00:00:00", + "2031-01-01 00:00:00" + ], + "unit": "Am3/h", + "values": [ + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null + ] + }, + "density_kg_per_m3": { + "rate_type": "STREAM_DAY", + "regularity": [ + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0 + ], + "timesteps": [ + "2020-01-01 00:00:00", + "2021-01-01 00:00:00", + "2022-01-01 00:00:00", + "2023-01-01 00:00:00", + "2024-01-01 00:00:00", + "2024-12-01 00:00:00", + "2026-01-01 00:00:00", + "2027-01-01 00:00:00", + "2028-01-01 00:00:00", + "2029-01-01 00:00:00", + "2030-01-01 00:00:00", + "2031-01-01 00:00:00" + ], + "unit": "kg/m3", + "values": [ + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null + ] + }, + "kappa": { + "timesteps": [ + "2020-01-01 00:00:00", + "2021-01-01 00:00:00", + "2022-01-01 00:00:00", + "2023-01-01 00:00:00", + "2024-01-01 00:00:00", + "2024-12-01 00:00:00", + "2026-01-01 00:00:00", + "2027-01-01 00:00:00", + "2028-01-01 00:00:00", + "2029-01-01 00:00:00", + "2030-01-01 00:00:00", + "2031-01-01 00:00:00" + ], + "unit": "N/A", + "values": [ + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null + ] + }, + "pressure": { + "timesteps": [ + "2020-01-01 00:00:00", + "2021-01-01 00:00:00", + "2022-01-01 00:00:00", + "2023-01-01 00:00:00", + "2024-01-01 00:00:00", + "2024-12-01 00:00:00", + "2026-01-01 00:00:00", + "2027-01-01 00:00:00", + "2028-01-01 00:00:00", + "2029-01-01 00:00:00", + "2030-01-01 00:00:00", + "2031-01-01 00:00:00" + ], + "unit": "bara", + "values": [ + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null + ] + }, + "pressure_before_choking": { + "timesteps": [ + "2020-01-01 00:00:00", + "2021-01-01 00:00:00", + "2022-01-01 00:00:00", + "2023-01-01 00:00:00", + "2024-01-01 00:00:00", + "2024-12-01 00:00:00", + "2026-01-01 00:00:00", + "2027-01-01 00:00:00", + "2028-01-01 00:00:00", + "2029-01-01 00:00:00", + "2030-01-01 00:00:00", + "2031-01-01 00:00:00" + ], + "unit": "bara", + "values": [ + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null + ] + }, + "temperature_kelvin": { + "timesteps": [ + "2020-01-01 00:00:00", + "2021-01-01 00:00:00", + "2022-01-01 00:00:00", + "2023-01-01 00:00:00", + "2024-01-01 00:00:00", + "2024-12-01 00:00:00", + "2026-01-01 00:00:00", + "2027-01-01 00:00:00", + "2028-01-01 00:00:00", + "2029-01-01 00:00:00", + "2030-01-01 00:00:00", + "2031-01-01 00:00:00" + ], + "unit": "K", + "values": [ + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null + ] + }, + "z": { + "timesteps": [ + "2020-01-01 00:00:00", + "2021-01-01 00:00:00", + "2022-01-01 00:00:00", + "2023-01-01 00:00:00", + "2024-01-01 00:00:00", + "2024-12-01 00:00:00", + "2026-01-01 00:00:00", + "2027-01-01 00:00:00", + "2028-01-01 00:00:00", + "2029-01-01 00:00:00", + "2030-01-01 00:00:00", + "2031-01-01 00:00:00" + ], + "unit": "N/A", + "values": [ + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null + ] + } + }, + "polytropic_efficiency": { + "timesteps": [ + "2020-01-01 00:00:00", + "2021-01-01 00:00:00", + "2022-01-01 00:00:00", + "2023-01-01 00:00:00", + "2024-01-01 00:00:00", + "2024-12-01 00:00:00", + "2026-01-01 00:00:00", + "2027-01-01 00:00:00", + "2028-01-01 00:00:00", + "2029-01-01 00:00:00", + "2030-01-01 00:00:00", + "2031-01-01 00:00:00" + ], + "unit": "frac", + "values": [ + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null + ] + }, + "polytropic_enthalpy_change_before_choke_kJ_per_kg": { + "timesteps": [ + "2020-01-01 00:00:00", + "2021-01-01 00:00:00", + "2022-01-01 00:00:00", + "2023-01-01 00:00:00", + "2024-01-01 00:00:00", + "2024-12-01 00:00:00", + "2026-01-01 00:00:00", + "2027-01-01 00:00:00", + "2028-01-01 00:00:00", + "2029-01-01 00:00:00", + "2030-01-01 00:00:00", + "2031-01-01 00:00:00" + ], + "unit": "kJ/kg", + "values": [ + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null + ] + }, + "polytropic_enthalpy_change_kJ_per_kg": { + "timesteps": [ + "2020-01-01 00:00:00", + "2021-01-01 00:00:00", + "2022-01-01 00:00:00", + "2023-01-01 00:00:00", + "2024-01-01 00:00:00", + "2024-12-01 00:00:00", + "2026-01-01 00:00:00", + "2027-01-01 00:00:00", + "2028-01-01 00:00:00", + "2029-01-01 00:00:00", + "2030-01-01 00:00:00", + "2031-01-01 00:00:00" + ], + "unit": "kJ/kg", + "values": [ + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null + ] + }, + "polytropic_head_kJ_per_kg": { + "timesteps": [ + "2020-01-01 00:00:00", + "2021-01-01 00:00:00", + "2022-01-01 00:00:00", + "2023-01-01 00:00:00", + "2024-01-01 00:00:00", + "2024-12-01 00:00:00", + "2026-01-01 00:00:00", + "2027-01-01 00:00:00", + "2028-01-01 00:00:00", + "2029-01-01 00:00:00", + "2030-01-01 00:00:00", + "2031-01-01 00:00:00" + ], + "unit": "kJ/kg", + "values": [ + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null + ] + }, + "power": { + "rate_type": "STREAM_DAY", + "regularity": [ + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0 + ], + "timesteps": [ + "2020-01-01 00:00:00", + "2021-01-01 00:00:00", + "2022-01-01 00:00:00", + "2023-01-01 00:00:00", + "2024-01-01 00:00:00", + "2024-12-01 00:00:00", + "2026-01-01 00:00:00", + "2027-01-01 00:00:00", + "2028-01-01 00:00:00", + "2029-01-01 00:00:00", + "2030-01-01 00:00:00", + "2031-01-01 00:00:00" + ], + "unit": "MW", + "values": [ + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null + ] + }, + "power_unit": "MW", + "pressure_is_choked": { + "timesteps": [ + "2020-01-01 00:00:00", + "2021-01-01 00:00:00", + "2022-01-01 00:00:00", + "2023-01-01 00:00:00", + "2024-01-01 00:00:00", + "2024-12-01 00:00:00", + "2026-01-01 00:00:00", + "2027-01-01 00:00:00", + "2028-01-01 00:00:00", + "2029-01-01 00:00:00", + "2030-01-01 00:00:00", + "2031-01-01 00:00:00" + ], + "unit": "N/A", + "values": [ + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false + ] + }, + "rate_exceeds_maximum": { + "timesteps": [ + "2020-01-01 00:00:00", + "2021-01-01 00:00:00", + "2022-01-01 00:00:00", + "2023-01-01 00:00:00", + "2024-01-01 00:00:00", + "2024-12-01 00:00:00", + "2026-01-01 00:00:00", + "2027-01-01 00:00:00", + "2028-01-01 00:00:00", + "2029-01-01 00:00:00", + "2030-01-01 00:00:00", + "2031-01-01 00:00:00" + ], + "unit": "N/A", + "values": [ + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false + ] + }, + "rate_has_recirculation": { + "timesteps": [ + "2020-01-01 00:00:00", + "2021-01-01 00:00:00", + "2022-01-01 00:00:00", + "2023-01-01 00:00:00", + "2024-01-01 00:00:00", + "2024-12-01 00:00:00", + "2026-01-01 00:00:00", + "2027-01-01 00:00:00", + "2028-01-01 00:00:00", + "2029-01-01 00:00:00", + "2030-01-01 00:00:00", + "2031-01-01 00:00:00" + ], + "unit": "N/A", + "values": [ + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false + ] + }, + "speed": { + "timesteps": [ + "2020-01-01 00:00:00", + "2021-01-01 00:00:00", + "2022-01-01 00:00:00", + "2023-01-01 00:00:00", + "2024-01-01 00:00:00", + "2024-12-01 00:00:00", + "2026-01-01 00:00:00", + "2027-01-01 00:00:00", + "2028-01-01 00:00:00", + "2029-01-01 00:00:00", + "2030-01-01 00:00:00", + "2031-01-01 00:00:00" + ], + "unit": "RPM", + "values": [ + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null + ] + } + } + ], + "timesteps": [ + "2020-01-01 00:00:00", + "2021-01-01 00:00:00", + "2022-01-01 00:00:00", + "2023-01-01 00:00:00", + "2024-01-01 00:00:00", + "2024-12-01 00:00:00", + "2026-01-01 00:00:00", + "2027-01-01 00:00:00", + "2028-01-01 00:00:00", + "2029-01-01 00:00:00", + "2030-01-01 00:00:00", + "2031-01-01 00:00:00" + ] + }, + { + "componentType": "COMPRESSOR", + "component_level": "MODEL", + "energy_usage": { + "rate_type": "STREAM_DAY", + "regularity": [ + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0 + ], + "timesteps": [ + "2020-01-01 00:00:00", + "2021-01-01 00:00:00", + "2022-01-01 00:00:00", + "2023-01-01 00:00:00", + "2024-01-01 00:00:00", + "2024-12-01 00:00:00", + "2026-01-01 00:00:00", + "2027-01-01 00:00:00", + "2028-01-01 00:00:00", + "2029-01-01 00:00:00", + "2030-01-01 00:00:00", + "2031-01-01 00:00:00" + ], + "unit": "MW", + "values": [ + 4.89, + 5.01, + 5.13, + 5.56, + 5.72, + 6.13, + 6.25, + 6.37, + 6.52, + 6.64, + 6.8, + 6.89 + ] + }, + "energy_usage_cumulative": { + "timesteps": [ + "2020-01-01 00:00:00", + "2021-01-01 00:00:00", + "2022-01-01 00:00:00", + "2023-01-01 00:00:00", + "2024-01-01 00:00:00", + "2024-12-01 00:00:00", + "2026-01-01 00:00:00", + "2027-01-01 00:00:00", + "2028-01-01 00:00:00", + "2029-01-01 00:00:00", + "2030-01-01 00:00:00", + "2031-01-01 00:00:00" + ], + "unit": "MWd", + "values": [ + 0.0, + 1789.74, + 3618.39, + 5490.84, + 7520.24, + 9436.44, + 11863.92, + 14145.17, + 16470.22, + 18856.54, + 21280.14, + 23762.14 + ] + }, + "energy_usage_unit": "MW", + "failure_status": [ + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null + ], + "is_valid": { + "timesteps": [ + "2020-01-01 00:00:00", + "2021-01-01 00:00:00", + "2022-01-01 00:00:00", + "2023-01-01 00:00:00", + "2024-01-01 00:00:00", + "2024-12-01 00:00:00", + "2026-01-01 00:00:00", + "2027-01-01 00:00:00", + "2028-01-01 00:00:00", + "2029-01-01 00:00:00", + "2030-01-01 00:00:00", + "2031-01-01 00:00:00" + ], + "unit": "N/A", "values": [ 1.0, 1.0, @@ -1191,20 +2253,52 @@ ] }, "power_unit": "MW", - "rate_sm3_day": [ - 233000000.0, - 237000000.0, - 241000000.0, - 254000000.0, - 258000000.0, - 271000000.0, - 275000000.0, - 279000000.0, - 283000000.0, - 286000000.0, - 290000000.0, - 293000000.0 - ], + "rate": { + "rate_type": "STREAM_DAY", + "regularity": [ + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0 + ], + "timesteps": [ + "2020-01-01 00:00:00", + "2021-01-01 00:00:00", + "2022-01-01 00:00:00", + "2023-01-01 00:00:00", + "2024-01-01 00:00:00", + "2024-12-01 00:00:00", + "2026-01-01 00:00:00", + "2027-01-01 00:00:00", + "2028-01-01 00:00:00", + "2029-01-01 00:00:00", + "2030-01-01 00:00:00", + "2031-01-01 00:00:00" + ], + "unit": "Sm3/d", + "values": [ + 233000000.0, + 237000000.0, + 241000000.0, + 254000000.0, + 258000000.0, + 271000000.0, + 275000000.0, + 279000000.0, + 283000000.0, + 286000000.0, + 290000000.0, + 293000000.0 + ] + }, "requested_inlet_pressure": { "timesteps": [ "2020-01-01 00:00:00", @@ -1269,20 +2363,52 @@ }, "stage_results": [ { - "asv_recirculation_loss_mw": [ - 0.0, - 0.0, - 0.0, - 0.0, - 0.0, - 0.0, - 0.0, - 0.0, - 0.0, - 0.0, - 0.0, - 0.0 - ], + "asv_recirculation_loss_mw": { + "rate_type": "STREAM_DAY", + "regularity": [ + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0 + ], + "timesteps": [ + "2020-01-01 00:00:00", + "2021-01-01 00:00:00", + "2022-01-01 00:00:00", + "2023-01-01 00:00:00", + "2024-01-01 00:00:00", + "2024-12-01 00:00:00", + "2026-01-01 00:00:00", + "2027-01-01 00:00:00", + "2028-01-01 00:00:00", + "2029-01-01 00:00:00", + "2030-01-01 00:00:00", + "2031-01-01 00:00:00" + ], + "unit": "MW", + "values": [ + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0 + ] + }, "chart_area_flags": [ "NOT_CALCULATED", "NOT_CALCULATED", @@ -1297,109 +2423,1093 @@ "NOT_CALCULATED", "NOT_CALCULATED" ], - "energy_usage": [ - 4.89, - 5.01, - 5.13, - 5.5600000000000005, - 5.72, - 6.13, - 6.25, - 6.37, - 6.5200000000000005, - 6.64, - 6.8, - 6.89 - ], + "energy_usage": { + "rate_type": "STREAM_DAY", + "regularity": [ + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0 + ], + "timesteps": [ + "2020-01-01 00:00:00", + "2021-01-01 00:00:00", + "2022-01-01 00:00:00", + "2023-01-01 00:00:00", + "2024-01-01 00:00:00", + "2024-12-01 00:00:00", + "2026-01-01 00:00:00", + "2027-01-01 00:00:00", + "2028-01-01 00:00:00", + "2029-01-01 00:00:00", + "2030-01-01 00:00:00", + "2031-01-01 00:00:00" + ], + "unit": "MW", + "values": [ + 4.89, + 5.01, + 5.13, + 5.5600000000000005, + 5.72, + 6.13, + 6.25, + 6.37, + 6.5200000000000005, + 6.64, + 6.8, + 6.89 + ] + }, "energy_usage_unit": "MW", "fluid_composition": {}, - "head_exceeds_maximum": [ - false, - false, - false, - false, - false, - false, - false, - false, - false, - false, - false, - false - ], - "inlet_stream_condition": {}, - "is_valid": [ - true, - true, - true, - true, - true, - true, - true, - true, - true, - true, - true, - true - ], - "outlet_stream_condition": {}, - "power": [ - 4.89, - 5.01, - 5.13, - 5.5600000000000005, - 5.72, - 6.13, - 6.25, - 6.37, - 6.5200000000000005, - 6.64, - 6.8, - 6.89 - ], + "head_exceeds_maximum": { + "timesteps": [ + "2020-01-01 00:00:00", + "2021-01-01 00:00:00", + "2022-01-01 00:00:00", + "2023-01-01 00:00:00", + "2024-01-01 00:00:00", + "2024-12-01 00:00:00", + "2026-01-01 00:00:00", + "2027-01-01 00:00:00", + "2028-01-01 00:00:00", + "2029-01-01 00:00:00", + "2030-01-01 00:00:00", + "2031-01-01 00:00:00" + ], + "unit": "N/A", + "values": [ + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false + ] + }, + "inlet_stream_condition": { + "actual_rate_before_asv_m3_per_hr": { + "rate_type": "STREAM_DAY", + "regularity": [ + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0 + ], + "timesteps": [ + "2020-01-01 00:00:00", + "2021-01-01 00:00:00", + "2022-01-01 00:00:00", + "2023-01-01 00:00:00", + "2024-01-01 00:00:00", + "2024-12-01 00:00:00", + "2026-01-01 00:00:00", + "2027-01-01 00:00:00", + "2028-01-01 00:00:00", + "2029-01-01 00:00:00", + "2030-01-01 00:00:00", + "2031-01-01 00:00:00" + ], + "unit": "Am3/h", + "values": [ + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null + ] + }, + "actual_rate_m3_per_hr": { + "rate_type": "STREAM_DAY", + "regularity": [ + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0 + ], + "timesteps": [ + "2020-01-01 00:00:00", + "2021-01-01 00:00:00", + "2022-01-01 00:00:00", + "2023-01-01 00:00:00", + "2024-01-01 00:00:00", + "2024-12-01 00:00:00", + "2026-01-01 00:00:00", + "2027-01-01 00:00:00", + "2028-01-01 00:00:00", + "2029-01-01 00:00:00", + "2030-01-01 00:00:00", + "2031-01-01 00:00:00" + ], + "unit": "Am3/h", + "values": [ + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null + ] + }, + "density_kg_per_m3": { + "rate_type": "STREAM_DAY", + "regularity": [ + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0 + ], + "timesteps": [ + "2020-01-01 00:00:00", + "2021-01-01 00:00:00", + "2022-01-01 00:00:00", + "2023-01-01 00:00:00", + "2024-01-01 00:00:00", + "2024-12-01 00:00:00", + "2026-01-01 00:00:00", + "2027-01-01 00:00:00", + "2028-01-01 00:00:00", + "2029-01-01 00:00:00", + "2030-01-01 00:00:00", + "2031-01-01 00:00:00" + ], + "unit": "kg/m3", + "values": [ + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null + ] + }, + "kappa": { + "timesteps": [ + "2020-01-01 00:00:00", + "2021-01-01 00:00:00", + "2022-01-01 00:00:00", + "2023-01-01 00:00:00", + "2024-01-01 00:00:00", + "2024-12-01 00:00:00", + "2026-01-01 00:00:00", + "2027-01-01 00:00:00", + "2028-01-01 00:00:00", + "2029-01-01 00:00:00", + "2030-01-01 00:00:00", + "2031-01-01 00:00:00" + ], + "unit": "N/A", + "values": [ + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null + ] + }, + "pressure": { + "timesteps": [ + "2020-01-01 00:00:00", + "2021-01-01 00:00:00", + "2022-01-01 00:00:00", + "2023-01-01 00:00:00", + "2024-01-01 00:00:00", + "2024-12-01 00:00:00", + "2026-01-01 00:00:00", + "2027-01-01 00:00:00", + "2028-01-01 00:00:00", + "2029-01-01 00:00:00", + "2030-01-01 00:00:00", + "2031-01-01 00:00:00" + ], + "unit": "bara", + "values": [ + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null + ] + }, + "pressure_before_choking": { + "timesteps": [ + "2020-01-01 00:00:00", + "2021-01-01 00:00:00", + "2022-01-01 00:00:00", + "2023-01-01 00:00:00", + "2024-01-01 00:00:00", + "2024-12-01 00:00:00", + "2026-01-01 00:00:00", + "2027-01-01 00:00:00", + "2028-01-01 00:00:00", + "2029-01-01 00:00:00", + "2030-01-01 00:00:00", + "2031-01-01 00:00:00" + ], + "unit": "bara", + "values": [ + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null + ] + }, + "temperature_kelvin": { + "timesteps": [ + "2020-01-01 00:00:00", + "2021-01-01 00:00:00", + "2022-01-01 00:00:00", + "2023-01-01 00:00:00", + "2024-01-01 00:00:00", + "2024-12-01 00:00:00", + "2026-01-01 00:00:00", + "2027-01-01 00:00:00", + "2028-01-01 00:00:00", + "2029-01-01 00:00:00", + "2030-01-01 00:00:00", + "2031-01-01 00:00:00" + ], + "unit": "K", + "values": [ + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null + ] + }, + "z": { + "timesteps": [ + "2020-01-01 00:00:00", + "2021-01-01 00:00:00", + "2022-01-01 00:00:00", + "2023-01-01 00:00:00", + "2024-01-01 00:00:00", + "2024-12-01 00:00:00", + "2026-01-01 00:00:00", + "2027-01-01 00:00:00", + "2028-01-01 00:00:00", + "2029-01-01 00:00:00", + "2030-01-01 00:00:00", + "2031-01-01 00:00:00" + ], + "unit": "N/A", + "values": [ + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null + ] + } + }, + "is_valid": { + "timesteps": [ + "2020-01-01 00:00:00", + "2021-01-01 00:00:00", + "2022-01-01 00:00:00", + "2023-01-01 00:00:00", + "2024-01-01 00:00:00", + "2024-12-01 00:00:00", + "2026-01-01 00:00:00", + "2027-01-01 00:00:00", + "2028-01-01 00:00:00", + "2029-01-01 00:00:00", + "2030-01-01 00:00:00", + "2031-01-01 00:00:00" + ], + "unit": "N/A", + "values": [ + true, + true, + true, + true, + true, + true, + true, + true, + true, + true, + true, + true + ] + }, + "mass_rate_before_asv_kg_per_hr": { + "rate_type": "STREAM_DAY", + "regularity": [ + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0 + ], + "timesteps": [ + "2020-01-01 00:00:00", + "2021-01-01 00:00:00", + "2022-01-01 00:00:00", + "2023-01-01 00:00:00", + "2024-01-01 00:00:00", + "2024-12-01 00:00:00", + "2026-01-01 00:00:00", + "2027-01-01 00:00:00", + "2028-01-01 00:00:00", + "2029-01-01 00:00:00", + "2030-01-01 00:00:00", + "2031-01-01 00:00:00" + ], + "unit": "kg/h", + "values": [ + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null + ] + }, + "mass_rate_kg_per_hr": { + "rate_type": "STREAM_DAY", + "regularity": [ + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0 + ], + "timesteps": [ + "2020-01-01 00:00:00", + "2021-01-01 00:00:00", + "2022-01-01 00:00:00", + "2023-01-01 00:00:00", + "2024-01-01 00:00:00", + "2024-12-01 00:00:00", + "2026-01-01 00:00:00", + "2027-01-01 00:00:00", + "2028-01-01 00:00:00", + "2029-01-01 00:00:00", + "2030-01-01 00:00:00", + "2031-01-01 00:00:00" + ], + "unit": "kg/h", + "values": [ + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null + ] + }, + "outlet_stream_condition": { + "actual_rate_before_asv_m3_per_hr": { + "rate_type": "STREAM_DAY", + "regularity": [ + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0 + ], + "timesteps": [ + "2020-01-01 00:00:00", + "2021-01-01 00:00:00", + "2022-01-01 00:00:00", + "2023-01-01 00:00:00", + "2024-01-01 00:00:00", + "2024-12-01 00:00:00", + "2026-01-01 00:00:00", + "2027-01-01 00:00:00", + "2028-01-01 00:00:00", + "2029-01-01 00:00:00", + "2030-01-01 00:00:00", + "2031-01-01 00:00:00" + ], + "unit": "Am3/h", + "values": [ + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null + ] + }, + "actual_rate_m3_per_hr": { + "rate_type": "STREAM_DAY", + "regularity": [ + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0 + ], + "timesteps": [ + "2020-01-01 00:00:00", + "2021-01-01 00:00:00", + "2022-01-01 00:00:00", + "2023-01-01 00:00:00", + "2024-01-01 00:00:00", + "2024-12-01 00:00:00", + "2026-01-01 00:00:00", + "2027-01-01 00:00:00", + "2028-01-01 00:00:00", + "2029-01-01 00:00:00", + "2030-01-01 00:00:00", + "2031-01-01 00:00:00" + ], + "unit": "Am3/h", + "values": [ + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null + ] + }, + "density_kg_per_m3": { + "rate_type": "STREAM_DAY", + "regularity": [ + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0 + ], + "timesteps": [ + "2020-01-01 00:00:00", + "2021-01-01 00:00:00", + "2022-01-01 00:00:00", + "2023-01-01 00:00:00", + "2024-01-01 00:00:00", + "2024-12-01 00:00:00", + "2026-01-01 00:00:00", + "2027-01-01 00:00:00", + "2028-01-01 00:00:00", + "2029-01-01 00:00:00", + "2030-01-01 00:00:00", + "2031-01-01 00:00:00" + ], + "unit": "kg/m3", + "values": [ + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null + ] + }, + "kappa": { + "timesteps": [ + "2020-01-01 00:00:00", + "2021-01-01 00:00:00", + "2022-01-01 00:00:00", + "2023-01-01 00:00:00", + "2024-01-01 00:00:00", + "2024-12-01 00:00:00", + "2026-01-01 00:00:00", + "2027-01-01 00:00:00", + "2028-01-01 00:00:00", + "2029-01-01 00:00:00", + "2030-01-01 00:00:00", + "2031-01-01 00:00:00" + ], + "unit": "N/A", + "values": [ + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null + ] + }, + "pressure": { + "timesteps": [ + "2020-01-01 00:00:00", + "2021-01-01 00:00:00", + "2022-01-01 00:00:00", + "2023-01-01 00:00:00", + "2024-01-01 00:00:00", + "2024-12-01 00:00:00", + "2026-01-01 00:00:00", + "2027-01-01 00:00:00", + "2028-01-01 00:00:00", + "2029-01-01 00:00:00", + "2030-01-01 00:00:00", + "2031-01-01 00:00:00" + ], + "unit": "bara", + "values": [ + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null + ] + }, + "pressure_before_choking": { + "timesteps": [ + "2020-01-01 00:00:00", + "2021-01-01 00:00:00", + "2022-01-01 00:00:00", + "2023-01-01 00:00:00", + "2024-01-01 00:00:00", + "2024-12-01 00:00:00", + "2026-01-01 00:00:00", + "2027-01-01 00:00:00", + "2028-01-01 00:00:00", + "2029-01-01 00:00:00", + "2030-01-01 00:00:00", + "2031-01-01 00:00:00" + ], + "unit": "bara", + "values": [ + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null + ] + }, + "temperature_kelvin": { + "timesteps": [ + "2020-01-01 00:00:00", + "2021-01-01 00:00:00", + "2022-01-01 00:00:00", + "2023-01-01 00:00:00", + "2024-01-01 00:00:00", + "2024-12-01 00:00:00", + "2026-01-01 00:00:00", + "2027-01-01 00:00:00", + "2028-01-01 00:00:00", + "2029-01-01 00:00:00", + "2030-01-01 00:00:00", + "2031-01-01 00:00:00" + ], + "unit": "K", + "values": [ + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null + ] + }, + "z": { + "timesteps": [ + "2020-01-01 00:00:00", + "2021-01-01 00:00:00", + "2022-01-01 00:00:00", + "2023-01-01 00:00:00", + "2024-01-01 00:00:00", + "2024-12-01 00:00:00", + "2026-01-01 00:00:00", + "2027-01-01 00:00:00", + "2028-01-01 00:00:00", + "2029-01-01 00:00:00", + "2030-01-01 00:00:00", + "2031-01-01 00:00:00" + ], + "unit": "N/A", + "values": [ + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null + ] + } + }, + "polytropic_efficiency": { + "timesteps": [ + "2020-01-01 00:00:00", + "2021-01-01 00:00:00", + "2022-01-01 00:00:00", + "2023-01-01 00:00:00", + "2024-01-01 00:00:00", + "2024-12-01 00:00:00", + "2026-01-01 00:00:00", + "2027-01-01 00:00:00", + "2028-01-01 00:00:00", + "2029-01-01 00:00:00", + "2030-01-01 00:00:00", + "2031-01-01 00:00:00" + ], + "unit": "frac", + "values": [ + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null + ] + }, + "polytropic_enthalpy_change_before_choke_kJ_per_kg": { + "timesteps": [ + "2020-01-01 00:00:00", + "2021-01-01 00:00:00", + "2022-01-01 00:00:00", + "2023-01-01 00:00:00", + "2024-01-01 00:00:00", + "2024-12-01 00:00:00", + "2026-01-01 00:00:00", + "2027-01-01 00:00:00", + "2028-01-01 00:00:00", + "2029-01-01 00:00:00", + "2030-01-01 00:00:00", + "2031-01-01 00:00:00" + ], + "unit": "kJ/kg", + "values": [ + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null + ] + }, + "polytropic_enthalpy_change_kJ_per_kg": { + "timesteps": [ + "2020-01-01 00:00:00", + "2021-01-01 00:00:00", + "2022-01-01 00:00:00", + "2023-01-01 00:00:00", + "2024-01-01 00:00:00", + "2024-12-01 00:00:00", + "2026-01-01 00:00:00", + "2027-01-01 00:00:00", + "2028-01-01 00:00:00", + "2029-01-01 00:00:00", + "2030-01-01 00:00:00", + "2031-01-01 00:00:00" + ], + "unit": "kJ/kg", + "values": [ + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null + ] + }, + "polytropic_head_kJ_per_kg": { + "timesteps": [ + "2020-01-01 00:00:00", + "2021-01-01 00:00:00", + "2022-01-01 00:00:00", + "2023-01-01 00:00:00", + "2024-01-01 00:00:00", + "2024-12-01 00:00:00", + "2026-01-01 00:00:00", + "2027-01-01 00:00:00", + "2028-01-01 00:00:00", + "2029-01-01 00:00:00", + "2030-01-01 00:00:00", + "2031-01-01 00:00:00" + ], + "unit": "kJ/kg", + "values": [ + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null + ] + }, + "power": { + "rate_type": "STREAM_DAY", + "regularity": [ + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0 + ], + "timesteps": [ + "2020-01-01 00:00:00", + "2021-01-01 00:00:00", + "2022-01-01 00:00:00", + "2023-01-01 00:00:00", + "2024-01-01 00:00:00", + "2024-12-01 00:00:00", + "2026-01-01 00:00:00", + "2027-01-01 00:00:00", + "2028-01-01 00:00:00", + "2029-01-01 00:00:00", + "2030-01-01 00:00:00", + "2031-01-01 00:00:00" + ], + "unit": "MW", + "values": [ + 4.89, + 5.01, + 5.13, + 5.5600000000000005, + 5.72, + 6.13, + 6.25, + 6.37, + 6.5200000000000005, + 6.64, + 6.8, + 6.89 + ] + }, "power_unit": "MW", - "pressure_is_choked": [ - false, - false, - false, - false, - false, - false, - false, - false, - false, - false, - false, - false - ], - "rate_exceeds_maximum": [ - false, - false, - false, - false, - false, - false, - false, - false, - false, - false, - false, - false - ], - "rate_has_recirculation": [ - false, - false, - false, - false, - false, - false, - false, - false, - false, - false, - false, - false - ] + "pressure_is_choked": { + "timesteps": [ + "2020-01-01 00:00:00", + "2021-01-01 00:00:00", + "2022-01-01 00:00:00", + "2023-01-01 00:00:00", + "2024-01-01 00:00:00", + "2024-12-01 00:00:00", + "2026-01-01 00:00:00", + "2027-01-01 00:00:00", + "2028-01-01 00:00:00", + "2029-01-01 00:00:00", + "2030-01-01 00:00:00", + "2031-01-01 00:00:00" + ], + "unit": "N/A", + "values": [ + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false + ] + }, + "rate_exceeds_maximum": { + "timesteps": [ + "2020-01-01 00:00:00", + "2021-01-01 00:00:00", + "2022-01-01 00:00:00", + "2023-01-01 00:00:00", + "2024-01-01 00:00:00", + "2024-12-01 00:00:00", + "2026-01-01 00:00:00", + "2027-01-01 00:00:00", + "2028-01-01 00:00:00", + "2029-01-01 00:00:00", + "2030-01-01 00:00:00", + "2031-01-01 00:00:00" + ], + "unit": "N/A", + "values": [ + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false + ] + }, + "rate_has_recirculation": { + "timesteps": [ + "2020-01-01 00:00:00", + "2021-01-01 00:00:00", + "2022-01-01 00:00:00", + "2023-01-01 00:00:00", + "2024-01-01 00:00:00", + "2024-12-01 00:00:00", + "2026-01-01 00:00:00", + "2027-01-01 00:00:00", + "2028-01-01 00:00:00", + "2029-01-01 00:00:00", + "2030-01-01 00:00:00", + "2031-01-01 00:00:00" + ], + "unit": "N/A", + "values": [ + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false + ] + }, + "speed": { + "timesteps": [ + "2020-01-01 00:00:00", + "2021-01-01 00:00:00", + "2022-01-01 00:00:00", + "2023-01-01 00:00:00", + "2024-01-01 00:00:00", + "2024-12-01 00:00:00", + "2026-01-01 00:00:00", + "2027-01-01 00:00:00", + "2028-01-01 00:00:00", + "2029-01-01 00:00:00", + "2030-01-01 00:00:00", + "2031-01-01 00:00:00" + ], + "unit": "RPM", + "values": [ + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null + ] + } } ], "timesteps": [ diff --git a/src/tests/ecalc_cli/test_app.py b/src/tests/ecalc_cli/test_app.py index a009b0f088..5f6e066cbb 100644 --- a/src/tests/ecalc_cli/test_app.py +++ b/src/tests/ecalc_cli/test_app.py @@ -336,8 +336,12 @@ def test_json_advanced_model(self, advanced_yaml_path, tmp_path): requested_inlet_pressure_train = compressor_train["requested_inlet_pressure"]["values"] requested_outlet_pressure_train = compressor_train["requested_outlet_pressure"]["values"] - calculated_inlet_pressure_train = compressor_train["stage_results"][0]["inlet_stream_condition"]["pressure"] - calculated_outlet_pressure_train = compressor_train["stage_results"][-1]["outlet_stream_condition"]["pressure"] + calculated_inlet_pressure_train = compressor_train["stage_results"][0]["inlet_stream_condition"]["pressure"][ + "values" + ] + calculated_outlet_pressure_train = compressor_train["stage_results"][-1]["outlet_stream_condition"]["pressure"][ + "values" + ] assert requested_inlet_pressure_tabular == [20] * len(compressor_tabular["timesteps"]) assert requested_outlet_pressure_tabular == [200] * len(compressor_tabular["timesteps"])