-
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: update changelog and migration guide (#509)
* docs: update changelog and migration guide
- Loading branch information
Showing
6 changed files
with
129 additions
and
19 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,36 @@ | ||
--- | ||
title: v8.15 to v8.16 | ||
description: v8.15 to v8.16 migration | ||
sidebar_position: 10 | ||
--- | ||
|
||
# v8.15 to v8.16 | ||
|
||
In this migration guide you will find: | ||
|
||
1. [YAML changes](#yaml-migration) | ||
|
||
## Yaml migration | ||
|
||
### 1. Changes in unit-format for venting emitters | ||
- New unit-format for venting emitters, aligned to what is used in other parts of yaml-file. | ||
|
||
The new yaml implementation is described below: | ||
|
||
Previously the format looked like this: | ||
~~~~yaml | ||
RATE: | ||
VALUE: 2 | ||
# This is old | ||
UNIT: kg/d | ||
TYPE: STREAM_DAY | ||
~~~~ | ||
|
||
The new format is: | ||
~~~~yaml | ||
RATE: | ||
VALUE: 2 | ||
# This is new | ||
UNIT: KG_PER_DAY | ||
TYPE: STREAM_DAY | ||
~~~~ |
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,33 @@ | ||
# UNIT | ||
|
||
## Description | ||
|
||
`UNIT` is a keyword that can be specified for: | ||
- [VENTING_EMITTERS](/about/references/keywords/VENTING_EMITTERS.md) - [EMISSIONS](/about/references/keywords/EMISSIONS.md) - [RATE](/about/references/keywords/RATE.md) or | ||
- [VENTING_EMITTERS](/about/references/keywords/VENTING_EMITTERS.md) - [VOLUME](/about/references/keywords/VOLUME.md) - [RATE](/about/references/keywords/RATE.md) | ||
|
||
## Format | ||
Venting emitter of [TYPE](/about/references/keywords/TYPE.md) `DIRECT_EMISSION`: | ||
~~~~yaml | ||
RATE: | ||
VALUE: <emission rate> | ||
UNIT: <emission rate unit, KG_PER_DAY (default), TONS_PER_DAY are supported units> | ||
TYPE: <emission rate type, default STREAM_DAY> | ||
~~~~ | ||
|
||
Venting emitter of [TYPE](/about/references/keywords/TYPE.md) `OIL_VOLUME`: | ||
~~~~yaml | ||
RATE: | ||
VALUE: <emission rate> | ||
UNIT: <emission rate unit, SM3_PER_DAY is only supported unit> | ||
TYPE: <emission rate type, default STREAM_DAY> | ||
~~~~ | ||
|
||
## Example | ||
TYPE: DIRECT_EMISSION | ||
~~~~yaml | ||
RATE: | ||
VALUE: 2 | ||
UNIT: KG_PER_DAY | ||
TYPE: STREAM_DAY | ||
~~~~ |
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,31 @@ | ||
--- | ||
slug: v8.16-release | ||
title: v8.16 (Latest) | ||
authors: ecalc-team | ||
tags: [release, eCalc] | ||
sidebar_position: -1001 | ||
--- | ||
|
||
# eCalc | ||
|
||
## Breaking Changes | ||
- New unit-format for venting emitters, aligned to what is used in other parts of yaml-file. Example: Example: Unit should be now be written as KG_PER_DAY, and not kg/d. | ||
|
||
## New Features | ||
- Make electrical- and mechanical available at asset level. This is needed to make plots split by mechanical- and electrical power in web (will be implemented in future version). | ||
- Make venting emitters emission names case insensitive: Avoid splitting same emission-types into separate ones, due to different use of upper- and lower case. | ||
|
||
## Bug Fixes | ||
- Detect duplicate keys in yaml file and raise error, pointing to where in the yaml-file the error occurs. | ||
- Do not allow for negative recirculation if rate is above max flow rate for a compressor chart. If the compressor stage is out of capacity already, the available capacity is set to zero. | ||
- Ensure regularity is evaluated for all installations when only venting emitters. eCalc failed if only `VENTING_EMITTERS` were specified (without `FUELCONUMERS` and `GENERATORSETS`), because installation results were empty. This fix ensures to get results, and to evaluate regularity, even if the installation results are empty. | ||
- Max power from shore values: Output values did not correspond to input in LTP-report, when output frequency is set to e.g. `YEAR`. This is now fixed. | ||
- Use custom type pydantic class to wrap ndarray and avoid validation problem: This fix removes potentially confusing warning in the validation. | ||
- Wrong unit max power from shore: The unit for `Max Usage from Shore column` in LTP-report was GWh, but is now correctly reported as MW. | ||
|
||
## Documentation | ||
- Add `MAXIMUM_POWER` to eCalc yaml-keyword list. | ||
- Fix typos. | ||
- Modify changelog order. | ||
- Update description of `VENTING_EMITTERS`. | ||
|