-
Notifications
You must be signed in to change notification settings - Fork 6
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
docs: clean up documentation around compressor modelling including ad…
…ding some missing keywords (#528) ECALC-1235 ECALC-1236 ECALC-1237 ECALC-1238 ECALC-1239
- Loading branch information
Showing
17 changed files
with
366 additions
and
25 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,53 @@ | ||
# CALCULATE_MAX_RATE | ||
|
||
[MODELS](/about/references/keywords/MODELS.md) / | ||
[CALCULATE_MAX_RATE](/about/references/keywords/CALCULATE_MAX_RATE.md) | ||
|
||
## Description | ||
|
||
The keyword [CALCULATE_MAX_RATE](CALCULATE_MAX_RATE) is optional with default value `False`. When set to `True`, the | ||
maximum standard rate the compressor train model can handle, based on the input suction and discharge pressures, will | ||
be calculated and reported in the results. This will be done for all dates according to the requested output frequency. | ||
|
||
Calculation of maximum standard rate is supported for compressor train models of type: | ||
- [SINGLE_SPEED_COMPRESSOR_TRAIN](/about/modelling/setup/models/compressor_modelling/compressor_models_types/single_speed_compressor_train_model.md) | ||
- [SIMPLIFIED_VARIABLE_SPEED_COMPRESSOR_TRAIN](/about/modelling/setup/models/compressor_modelling/compressor_models_types/simplified_variable_speed_compressor_train_model.md) | ||
- [VARIABLE_SPEED_COMPRESSOR_TRAIN](/about/modelling/setup/models/compressor_modelling/compressor_models_types/variable_speed_compressor_train_model.md) | ||
- [VARIABLE_SPEED_COMPRESSOR_TRAIN_MULTIPLE_STREAMS_AND_PRESSURES](/about/modelling/setup/models/compressor_modelling/compressor_models_types/variable_speed_compressor_train_model_with_multiple_streams_and_pressures.md). | ||
|
||
|
||
:::warning Warning | ||
The CALCULATE_MAX_RATE keyword will in most cases add significantly to the run time of the model. | ||
Only use when needed! | ||
::: | ||
|
||
## Format | ||
|
||
~~~~~~~~yaml | ||
MODELS: | ||
- NAME: <model name> | ||
TYPE: SIMPLIFIED_VARIABLE_SPEED_COMPRESSOR_TRAIN | ||
FLUID_MODEL: <reference to fluid model, must be defined in [MODELS]> | ||
COMPRESSOR_TRAIN: | ||
STAGES: | ||
- INLET_TEMPERATURE: <inlet temperature in Celsius for stage> | ||
COMPRESSOR_CHART: <reference to compressor chart model for first stage, must be defined in MODELS or FACILITY_INPUTS> | ||
- ... and so forth for each stage in the train | ||
CALCULATE_MAX_RATE: <Optional. compressor train max standard rate [Sm3/day] in result if set to true. Default false. Use with caution. This will increase runtime significantly. > | ||
... | ||
~~~~~~~~ | ||
|
||
## Example | ||
|
||
~~~~~~~~yaml | ||
MODELS: | ||
- NAME: simplified_compressor_model | ||
TYPE: SIMPLIFIED_VARIABLE_SPEED_COMPRESSOR_TRAIN | ||
FLUID_MODEL: fluid_model_1 | ||
COMPRESSOR_TRAIN: | ||
STAGES: | ||
- INLET_TEMPERATURE: 30 | ||
COMPRESSOR_CHART: predefined_variable_speed_compressor_chart | ||
CALCULATE_MAX_RATE: True | ||
~~~~~~~~ | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,33 @@ | ||
# CHART_TYPE | ||
|
||
## Description | ||
|
||
`CHART_TYPE` is a required to be specified under the [MODELS](/about/references/keywords/MODELS.md) keyword when | ||
the model is of [TYPE](/about/references/keywords/TYPE.md) `COMPRESSOR_CHART`. | ||
|
||
The `CHART_TYPE` can either be set to: | ||
- SINGLE_SPEED | ||
- VARIABLE_SPEED | ||
- GENERIC_FROM_INPUT | ||
- GENERIC_FROM_DESIGN_POINT | ||
|
||
|
||
## Format | ||
|
||
~~~~yaml | ||
MODELS: | ||
- NAME: <name of model> | ||
TYPE: COMPRESSOR_CHART | ||
CHART_TYPE: <SINGLE_SPEED, VARIABLE_SPEED, GENERIC_FROM_INPUT or GENERIC_FROM_DESIGN_POINT> | ||
... | ||
~~~~ | ||
|
||
## Example | ||
|
||
~~~~yaml | ||
MODELS: | ||
- NAME: compressor_chart_model_reference_name | ||
TYPE: COMPRESSOR_CHART | ||
CHART_TYPE: SINGLE_SPEED | ||
... | ||
~~~~ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,36 @@ | ||
# COMPRESSOR_CHART | ||
|
||
[MODELS](/about/references/keywords/MODELS.md) / | ||
[...] / | ||
[STAGES](/about/references/keywords/STAGES.md) / | ||
[COMPRESSOR_CHART](/about/references/keywords/COMPRESSOR_CHART.md) | ||
|
||
|
||
## Description | ||
This is a keyword used in [COMPRESSOR MODELLING](/about/modelling/setup/models/compressor_modelling/compressor_models_types/index.md) when defining the individual stages of a compressor train. | ||
It is a necessary input parameter which is a reference to a [compressor chart model](/about/modelling/setup/models/compressor_modelling/compressor_charts/index.md) defined in [MODELS](/about/references/keywords/MODELS.md). | ||
|
||
|
||
## Format | ||
|
||
~~~~~yaml | ||
MODELS: | ||
- NAME: <model name> | ||
... | ||
COMPRESSOR_TRAIN: | ||
STAGES: | ||
- COMPRESSOR_CHART: <reference to compressor chart model> | ||
... | ||
~~~~~ | ||
|
||
## Example | ||
|
||
~~~~~yaml | ||
MODELS: | ||
- NAME: compressor_train | ||
... | ||
COMPRESSOR_TRAIN: | ||
STAGES: | ||
- COMPRESSOR_CHART: stage1_compressor_chart | ||
... | ||
~~~~~ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,25 @@ | ||
# COMPRESSOR_TRAIN | ||
|
||
## Description | ||
|
||
This keyword is necessary when defining a compressor model. It relates to defining the actual | ||
[STAGES](/about/references/keywords/STAGES.md) in the compressor model. | ||
|
||
## Format | ||
|
||
~~~~yaml | ||
MODELS: | ||
- NAME: <model name> | ||
TYPE: <compressor model type> | ||
FLUID_MODEL: <reference to fluid model, must be defined in MODELS> | ||
COMPRESSOR_TRAIN: | ||
STAGES: | ||
- INLET_TEMPERATURE: <inlet temperature in Celsius for stage> | ||
COMPRESSOR_CHART: <reference to compressor chart model for first stage, must be defined in MODELS or FACILITY_INPUTS> | ||
PRESSURE_DROP_AHEAD_OF_STAGE: <Pressure drop before compression stage [in bar]> | ||
- INLET_TEMPERATURE: <inlet temperature in Celsius for stage> | ||
COMPRESSOR_CHART: <reference to compressor chart model for second stage, must be defined in MODELS or FACILITY_INPUTS> | ||
PRESSURE_DROP_AHEAD_OF_STAGE: <Pressure drop before compression stage [in bar]> | ||
- ... and so forth for each stage in the train | ||
... | ||
~~~~ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,40 @@ | ||
# DESIGN_HEAD | ||
|
||
## Description | ||
|
||
`DESIGN_HEAD` is required to be specified under the [MODELS](/about/references/keywords/MODELS.md) keyword when | ||
the model is of [TYPE](/about/references/keywords/TYPE.md) `COMPRESSOR_CHART` **and** the [CHART_TYPE](/about/references/keywords/CHART_TYPE.md) | ||
is `GENERIC_FROM_DESIGN_POINT`. For more details see [Generic compressor chart with predefined design point](/about/modelling/setup/models/compressor_modelling/compressor_charts/index.md#generic-compressor-chart-with-predefined-design-point) | ||
|
||
## Format | ||
|
||
~~~~yaml | ||
MODELS: | ||
- NAME: <name of model> | ||
TYPE: COMPRESSOR_CHART | ||
CHART_TYPE: <only for GENERIC_FROM_DESIGN_POINT> | ||
POLYTROPIC_EFFICIENCY: <polytropic efficiency of the compressor (fixed number)> | ||
DESIGN_RATE: <design rate> | ||
DESIGN_HEAD: <design head> | ||
UNITS: | ||
RATE: <rate unit, currently only AM3_PER_HOUR supported> | ||
HEAD: <polytropic head unit, M, KJ_PER_KG, JOULE_PER_KG supported> | ||
EFFICIENCY: <polytropic efficiency unit, FRACTION and PERCENTAGE.> | ||
... | ||
~~~~ | ||
|
||
## Example | ||
|
||
~~~~yaml | ||
MODELS: | ||
- NAME: generic_from_design_point_compressor_chart | ||
TYPE: COMPRESSOR_CHART | ||
CHART_TYPE: GENERIC_FROM_DESIGN_POINT | ||
POLYTROPIC_EFFICIENCY: 0.75 | ||
DESIGN_RATE: 7000 | ||
DESIGN_HEAD: 50 | ||
UNITS: | ||
RATE: AM3_PER_HOUR | ||
HEAD: KJ_PER_KG | ||
EFFICIENCY: FRACTION | ||
~~~~ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,40 @@ | ||
# DESIGN_RATE | ||
|
||
## Description | ||
|
||
`DESIGN_RATE` is required to be specified under the [MODELS](/about/references/keywords/MODELS.md) keyword when | ||
the model is of [TYPE](/about/references/keywords/TYPE.md) `COMPRESSOR_CHART` **and** the [CHART_TYPE](/about/references/keywords/CHART_TYPE.md) | ||
is `GENERIC_FROM_DESIGN_POINT`. For more details see [Generic compressor chart with predefined design point](/about/modelling/setup/models/compressor_modelling/compressor_charts/index.md#generic-compressor-chart-with-predefined-design-point) | ||
|
||
## Format | ||
|
||
~~~~yaml | ||
MODELS: | ||
- NAME: <name of model> | ||
TYPE: COMPRESSOR_CHART | ||
CHART_TYPE: <only for GENERIC_FROM_DESIGN_POINT> | ||
POLYTROPIC_EFFICIENCY: <polytropic efficiency of the compressor (fixed number)> | ||
DESIGN_RATE: <design rate> | ||
DESIGN_HEAD: <design head> | ||
UNITS: | ||
RATE: <rate unit, currently only AM3_PER_HOUR supported> | ||
HEAD: <polytropic head unit, M, KJ_PER_KG, JOULE_PER_KG supported> | ||
EFFICIENCY: <polytropic efficiency unit, FRACTION and PERCENTAGE.> | ||
... | ||
~~~~ | ||
|
||
## Example | ||
|
||
~~~~yaml | ||
MODELS: | ||
- NAME: generic_from_design_point_compressor_chart | ||
TYPE: COMPRESSOR_CHART | ||
CHART_TYPE: GENERIC_FROM_DESIGN_POINT | ||
POLYTROPIC_EFFICIENCY: 0.75 | ||
DESIGN_RATE: 7000 | ||
DESIGN_HEAD: 50 | ||
UNITS: | ||
RATE: AM3_PER_HOUR | ||
HEAD: KJ_PER_KG | ||
EFFICIENCY: FRACTION | ||
~~~~ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
35 changes: 35 additions & 0 deletions
35
docs/docs/about/references/keywords/POLYTROPIC_EFFICIENCY.md
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,35 @@ | ||
# POLYTROPIC_EFFICIENCY | ||
|
||
## Description | ||
|
||
`POLYTROPIC_EFFICIENCY` is required to be specified under the [MODELS](/about/references/keywords/MODELS.md) keyword when | ||
the model is of [TYPE](/about/references/keywords/TYPE.md) `COMPRESSOR_CHART` **and** the [CHART_TYPE](/about/references/keywords/CHART_TYPE.md) | ||
is either `GENERIC_FROM_INPUT`or `GENERIC_FROM_DESIGN_POINT`. The polytropic efficiency will be a fixed number for all | ||
rate/head values in the compressor chart. | ||
|
||
|
||
## Format | ||
|
||
~~~~yaml | ||
MODELS: | ||
- NAME: <name of model> | ||
TYPE: COMPRESSOR_CHART | ||
CHART_TYPE: <GENERIC_FROM_INPUT or GENERIC_FROM_DESIGN_POINT> | ||
POLYTROPIC_EFFICIENCY: <polytropic efficiency of the compressor (fixed number)> | ||
UNITS: | ||
EFFICIENCY: <polytropic efficiency unit, FRACTION and PERCENTAGE.> | ||
... | ||
~~~~ | ||
|
||
## Example | ||
|
||
~~~~yaml | ||
MODELS: | ||
- NAME: compressor_chart_model_reference_name | ||
TYPE: COMPRESSOR_CHART | ||
CHART_TYPE: GENERIC_FROM_INPUT | ||
POLYTROPIC_EFFICIENCY: 0.75 | ||
UNITS: | ||
EFFICIENCY: FRACTION | ||
... | ||
~~~~ |
Oops, something went wrong.