From ba83e5b3d5a0a423ed8b8f21f90c25c2f5c17d1f Mon Sep 17 00:00:00 2001 From: Kjetil Brakstad Date: Thu, 12 Dec 2024 15:35:05 +0100 Subject: [PATCH] docs: make sure all docs codeblock lines in advanced match after changes --- docs/docs/about/modelling/examples/advanced.mdx | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/docs/docs/about/modelling/examples/advanced.mdx b/docs/docs/about/modelling/examples/advanced.mdx index c0ea7a3ea..ecdf5f751 100644 --- a/docs/docs/about/modelling/examples/advanced.mdx +++ b/docs/docs/about/modelling/examples/advanced.mdx @@ -259,7 +259,7 @@ We will now fill in the final placeholders with detailed [ENERGY_USAGE_MODEL](/a `Fixed production loads A` has a load of 7.6 MW with additional 4.1 MW when the field gas injection rate is positive: -{yamlModel} +{yamlModel} `Gas export compressor system A` is represented by a consumer system of two simplified compressor train models. The system has defined the variable [gasratea_cd](#variables) and will run two different @@ -270,7 +270,7 @@ setting that returns a valid result for the compressors. See [COMPRESSOR_SYSTEM](/about/modelling/setup/installations/compressor_models_in_calculations/compressor_system.md) for further details. The compressor model is then defined: -{yamlModel} +{yamlModel} `Water injection pump system A` is variable and its energy function is dependent on the field's water injection rate (`WATER_INJ`) that is set in the variable [water_injection_rate](#variables) as `SIM;WATER_INJ`. @@ -280,34 +280,34 @@ is also defined. This PUMP_SYSTEM behaves much the same as the COMPRESSOR_SYSTEM above. See [PUMP_SYSTEM](/about/modelling/setup/installations/pump_models_in_calculations.md#pump_system-energy-usage-model) for further details. -{yamlModel} +{yamlModel} `Single pump A` has an energy function that is dependent on the seawater injection rate, same as the system above. It uses the pump_chart defined in [FACILITY_INPUTS](#facility_inputs) above. The pump model is then defined: -{yamlModel} +{yamlModel} The `Flare A` is changing on the 1st of July 2020 and 1st of January 2030. Therefore, we need to use a different constant fuel consumption value before and after this date. This is done using the variable [flare_a_fuel_rate_sm3_day](#variables). The model becomes: -{yamlModel} +{yamlModel} `Base production loads B` has a load of 7.6 : -{yamlModel} +{yamlModel} The `Flare B` is changing on the 1st of July 2020 and 1st of January 2030. Therefore, we need to use a different constant fuel consumption value before and after this date. This is done using the variable [flare_a_fuel_rate_sm3_day](#variables). The model becomes: -{yamlModel} +{yamlModel} The `Gas export compressors B` is a variable fuel consumer whose energy function depends on the field gas production rate (`GAS_PROD`) defined in the variable [gasrateb_cd](#variables) as `SIM;GAS_PROD`, and put to the condition [gas_export_condition](#variables) as `SIM;GAS_PROD > 0` The model is specified: -{yamlModel} +{yamlModel} ## Full eCalc YAML model {yamlModel}