|
1 | 1 | ---
|
2 |
| -title: v8.26 to v9.0 |
3 |
| -description: v8.26 to v9.0 migration |
4 |
| -sidebar_position: -12 |
| 2 | +title: v8.20 to v9.6 |
| 3 | +description: v8.20 to v9.6 migration |
| 4 | +sidebar_position: -11 |
5 | 5 | ---
|
6 | 6 |
|
7 |
| -# v8.26 to v9.0 |
| 7 | +# Migration guide v8.20 to v9.6 |
8 | 8 |
|
9 |
| -In this migration guide you will find: |
| 9 | +This migration guide is intended to help you migrate your existing eCalc™ model from version v8.20 to v9.6. The guide |
| 10 | +is divided into 3 sections; **v8.22 to v8.23**, **v8.26 to v9.0** and **v9.0 to v9.6**. Make sure to go through the |
| 11 | +whole guide to make sure you have updated your model(s) correctly. |
10 | 12 |
|
11 |
| -1. [YAML changes](#yaml-migration) |
| 13 | +## v8.22 to v8.23 |
12 | 14 |
|
13 |
| -## Yaml migration |
| 15 | +### 1. Changes to COMPOSITION |
| 16 | +- `H2O` is no longer allowed in a fluid composition, `water` should be used instead |
14 | 17 |
|
15 |
| -### Migration overview |
| 18 | +```yaml |
| 19 | +MODELS: |
| 20 | +- NAME: <name of fluid model, for reference> |
| 21 | + TYPE: FLUID |
| 22 | + FLUID_MODEL_TYPE: COMPOSITION |
| 23 | + EOS_MODEL: <eos model> |
| 24 | + COMPOSITION: |
| 25 | + # This is old |
| 26 | + H2O: <mole fraction> |
| 27 | + # This is new |
| 28 | + water: <mole fraction> |
| 29 | + nitrogen: <mole fraction> |
| 30 | + CO2: <mole fraction> |
| 31 | + methane: <mole fraction, required> |
| 32 | + ethane: <mole fraction> |
| 33 | + propane: <mole fraction> |
| 34 | + i_butane: <mole fraction> |
| 35 | + n_butane: <mole fraction> |
| 36 | + i_pentane: <mole fraction> |
| 37 | + n_pentane: <mole fraction> |
| 38 | + n_hexane: <mole fraction> |
| 39 | +``` |
16 | 40 |
|
17 |
| -This doc guides you through migrating an existing eCalc™ model from version v8.26 to v9.0. |
18 | 41 |
|
19 |
| -We try to make this as easy as possible, and provide a step-by-step migration guide. |
| 42 | +## v8.26 to v9.0 |
| 43 | +
|
| 44 | +### Changes to compressor trains in MODELS |
20 | 45 |
|
21 |
| -### 1. Changes to compressor trains in MODELS |
22 | 46 | - `CONTROL_MARGIN` and `CONTROL_MARGIN_UNIT` are now required for `SINGLE_SPEED_COMPRESSOR_TRAIN`, `VARIABLE_SPEED_COMPRESSOR_TRAIN` and `VARIABLE_SPEED_COMPRESSOR_TRAIN_MULTIPLE_STREAMS_AND_PRESSURES`.
|
23 | 47 |
|
24 | 48 | An example with new yaml implementation is shown below:
|
@@ -52,7 +76,8 @@ MODELS:
|
52 | 76 | 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. >
|
53 | 77 | ```
|
54 | 78 |
|
55 |
| -### 2. Changes to simplified compressor trains in MODELS |
| 79 | +### Changes to simplified compressor trains in MODELS |
| 80 | + |
56 | 81 | - `CONTROL_MARGIN` and `CONTROL_MARGIN_UNIT` are not allowed for `SIMPLIFIED_VARIABLE_SPEED_COMPRESSOR_TRAIN`.
|
57 | 82 |
|
58 | 83 | The new yaml implementation is described below, for simplified compressor train model with known compressor stages:
|
@@ -81,4 +106,17 @@ MODELS:
|
81 | 106 | MAXIMUM_POWER: <Optional constant MW maximum power the compressor train can require>
|
82 | 107 | ```
|
83 | 108 | - Simplified compressor trains have to use generic compressor charts
|
84 |
| - - `SIMPLIFIED_VARIABLE_SPEED_COMPRESSOR_TRAIN` is restricted to generic compressor charts, i.e. the `COMPRESSOR_CHART` must be of type `GENERIC_FROM_INPUT` or `GENERIC_FROM_DESIGN_POINT`. The chart types `SINGLE_SPEED` and `VARIABLE_SPEED` are not allowed anymore. |
| 109 | + - `SIMPLIFIED_VARIABLE_SPEED_COMPRESSOR_TRAIN` is restricted to generic compressor charts, i.e. the `COMPRESSOR_CHART` must be of type `GENERIC_FROM_INPUT` or `GENERIC_FROM_DESIGN_POINT`. The chart types `SINGLE_SPEED` and `VARIABLE_SPEED` are not allowed anymore. |
| 110 | + |
| 111 | +## v9.0 to v9.6 |
| 112 | + |
| 113 | +### Important Control Margin changes for compressors |
| 114 | + |
| 115 | +* `CONTROL_MARGIN` and `CONTROL_MARGIN_UNIT` are **REQUIRED** for compressors for single compressors and compressor systems. |
| 116 | +* `CONTROL_MARGIN` and `CONTROL_MARGIN_UNIT` are **NO LONGER ALLOWED** for simplified compressor trains. |
| 117 | +* Simplified trains **HAVE TO USE** generic charts - single speed- and variable speed charts are not allowed. |
| 118 | + |
| 119 | +### Enforcing more unique names |
| 120 | + |
| 121 | +* Fixed a bug where electrical consumers are required to have **UNIQUE** names. |
| 122 | +* The following elements **MUST** also have **UNIQUE** names: `MODELS`, `FACILITY_INPUT`, `TIME_SERIES`, `FUEL_TYPES` and `EMISSIONS` names. |
0 commit comments