Merge pull request #319 from Mariosmsk/Update-ReleaseNotes2_2.md

Update ReleaseNotes2_2.md
This commit is contained in:
Elad Salomons
2018-10-29 06:07:04 +02:00
committed by GitHub

View File

@@ -1,4 +1,3 @@
Release Notes for EPANET 2.2 (Draft) Release Notes for EPANET 2.2 (Draft)
============================ ============================
@@ -129,36 +128,35 @@ Both network files are available [here](https://doi.org/10.23719/1375314).
## New API functions ## New API functions
|Function|Description| |Function|Description|
|--|--| |--|--|
|`ENgetcurvetype`| | |`ENgetcurvetype`|Get the type of a curve|
|`ENgetdemandmodel`|| |`ENgetdemandmodel`|Retrieves the type of demand model in use and its parameters|
|`ENsetdemandmodel`|| |`ENsetdemandmodel`|Sets the type of demand model to use and its parameters|
|`ENsetflowunits`|| |`ENsetflowunits`|Sets the flow units|
|`ENaddcontrol`|| |`ENaddcontrol`|Specify parameters to add a new simple control|
|`ENsetdemandpattern`|| |`ENsetdemandpattern`|Sets the index of the demand pattern assigned to a node for a category index|
|`ENgetrule`|| |`ENgetrule`|Gets the number of premises, true actions, and false actions and the priority of an existing rule-based control|
|`ENsetrulepriority`|| |`ENsetrulepriority`|Sets the priority of the existing rule-based control|
|`ENgetpremise`|| |`ENgetpremise`|Gets the components of a premise/condition in an existing rule-based control|
|`ENsetpremise`|| |`ENsetpremise`|Sets the components of a premise/condition in an existing rule-based control|
|`ENsetpremiseindex`|| |`ENsetpremiseindex`|Sets the index of an object in a premise of an existing rule-based control|
|`ENsetpremisestatus`|| |`ENsetpremisestatus`|Sets the status in a premise of an existing rule-based control|
|`ENsetpremisevalue`|| |`ENsetpremisevalue`|Sets the value in a premise of an existing rule-based control|
|`ENgettrueaction`|| |`ENgettrueaction`|Gets the components of a true-action in an existing rule-based control|
|`ENsettrueaction`|| |`ENsettrueaction`|Sets the components of a true-action in an existing rule-based control|
|`ENgetfalseaction`|| |`ENgetfalseaction`|Gets the components of a false-action in an existing rule-based control|
|`ENsetfalseaction`|| |`ENsetfalseaction`|Sets the components of a false-action in an existing rule-based control|
|`ENgetruleID`|| |`ENgetruleID`|Returns the ID of a rule|
|`ENinit`|| |`ENinit`|Initializes an EPANET session|
|`ENsetheadcurveindex`|| |`ENsetheadcurveindex`|Sets the curve id for a specified pump index|
|`ENsetlinknodes`|| |`ENsetlinktype`|Set the link type code for a specified link|
|`ENsetlinktype`|| |`ENaddnode`|Adds a new node|
|`ENaddnode`|| |`ENaddlink`|Adds a new link|
|`ENaddlink`|| |`ENdeletelink`|Deletes a link|
|`ENdeletelink`|| |`ENdeletenode`|Deletes a node|
|`ENdeletenode`|| | `ENsetnodeid` |Change the ID name for a node|
| `ENsetnodeid` || | `ENsetlinkid` |Change the ID name for a link|
| `ENsetlinkid` || |`ENgetdemandname`|Sets the node's demand name for a category|
|`ENgetdemandname`|| |`ENsetdemandname`|Sets the node's demand name for a category|
|`ENsetdemandname`||
## API Extensions (additional definitions) ## API Extensions (additional definitions)
### Link value types: ### Link value types:
@@ -175,10 +173,14 @@ Both network files are available [here](https://doi.org/10.23719/1375314).
- `EN_HW` - `EN_HW`
- `EN_DW` - `EN_DW`
- `EN_CM` - `EN_CM`
### Misc. options: ### Option types:
- `EN_HEADERROR` - `EN_HEADERROR`
- `EN_FLOWCHANGE` - `EN_FLOWCHANGE`
- `EN_DEMANDDEFPAT` - `EN_DEMANDDEFPAT`
- `EN_HEADLOSSFORM`
### Time statistic types:
- `EN_MAXHEADERROR`
- `EN_MAXFLOWCHANGE`
- `EN_MASSBALANCE` - `EN_MASSBALANCE`
### Curve types: ### Curve types:
- `EN_V_CURVE` - `EN_V_CURVE`
@@ -186,7 +188,10 @@ Both network files are available [here](https://doi.org/10.23719/1375314).
- `EN_E_CURVE` - `EN_E_CURVE`
- `EN_H_CURVE` - `EN_H_CURVE`
- `EN_G_CURVE` - `EN_G_CURVE`
### Demand model types:
- `EN_DDA`
- `EN_PDA`
## Authors contributing to this release: ## Authors contributing to this release:
- List item - List item