The changes in this beta will be available in the 4.13 production release, due out at the end of June 2020.
Waiting on:
Jira Legacy | ||||||
---|---|---|---|---|---|---|
|
Jira Legacy | ||||||
---|---|---|---|---|---|---|
|
Changes in this release include the addition of the Water User and Constraint Phase, and a user interface improvement in Resource assessment....
A new
...
There has been a change to allow modellers finer control over function execution during the ordering process.
Phase logic has changed from:
...
- Evaluate functions and modelled variables - where Time of Evaluation equals Order Phase and where the function is not used at a network element.
- Process Water Users:
- Water User order calculations can be run in Parallel at this point in the ordering phase with the option enabled: "Process Water User Orders in Parallel": Scenario Options \ Performance
- For each Water User:
- Evaluate functions and modelled variables - where Time of Evaluation equals Order Phase, and where the function is used at this Water User.
- Calculate and distribute the demands of each Water user.
- Evaluate functions and modelled variables - where Time of Evaluation equals Order Phase, and where the function is used at this Water User.
- Constraint Phase:
- For each Network Element:
- Calculate minimum and maximum constraints at each element and pass the constraints downstream.
- For each Network Element:
- Ordering Phase:
- For each Network Element:
- Evaluate functions and modelled variables - where Time of Evaluation equals Order Phase, and where the function is used at this network element.
- Calculate regulated orders and pass upstream.
- Calculate off allocation orders and pass upstream.
- For each Network Element:
To:
...
10. Water User and Constraint Phase
- Evaluate functions and modelled variables - where Time of Evaluation equals Water User & Constraint Phase and where the function is not used at a network element.
- Process Water Users:
- Water User order calculations can be run in Parallel at this point in the ordering phase with the option enabled: "Process Water User Orders in Parallel": Scenario Options \ Performance
- For each Water User:
- Evaluate functions and modelled variables - where Time of Evaluation equals Water User and Constraints Phase, and where the function is used at this Water User.
- Calculate and distribute the demands of each Water user.
- Constraint Phase:
- For each Network Element:
- Evaluate functions and modelled variables - where Time of Evaluation equals Order Phase, and where the function is used at this network element.
- Calculate minimum and maximum constraints at each element and pass the constraints downstream.
- For each Network Element:
11. Ordering phase:
- Evaluate functions and modelled variables - where Time of Evaluation equals Order Phase and where the function is not used at a network element or is used at a Water User.
- Ordering Phase:
- For each Network Element:
- Evaluate functions and modelled variables - where Time of Evaluation equals Order Phase, and where the function is used at this network element.
- Calculate regulated orders and pass upstream.
- Calculate off allocation orders and pass upstream.
- For each Network Element:
The important thing to note is that the timing has changed.
Example: A function assigned to a Water User, that says it evaluates in the Ordering Phase, will now happen later than it previously did. To evaluate it at the same time as it did in v4.11, the time of evaluation needs to be moved to the Water User & Constraint Phase.
Migration Code
So to minimise the effect in splitting this phase in two, we've written some migration code.
The logic is:
- IF a function or modelled variable has a time of evaluation of 'Ordering Phase' (in v4.10.1)
- AND it is used on a model that is either:
- a Non-Network Element (e.g. Resource Assessment, Env Flow Manager)
- a Water User
- THEN move its time of evaluation to 'Water User & Constraint Phase'
also
- IF a function or modelled variable has a time of evaluation of 'Ordering Phase' (in v4.10.1)
- AND it is not used anywhere
- AND it has Force Evaluate set to On
- THEN move its time of evaluation to 'Water User & Constraint Phase'
otherwise, we leave it as 'Ordering Phase'
Limitations
We know our migration codes is not perfect:
- We don't cater for Functions activated via input sets.
- Functions not used on a model, but only used by other Functions will not be moved
Recommended steps
...
So to minimise the effect in splitting this phase in two, we've written some migration code.
Jira Legacy | ||||||
---|---|---|---|---|---|---|
|
Jira Legacy | ||||||
---|---|---|---|---|---|---|
|
Jira Legacy | ||||||
---|---|---|---|---|---|---|
|
Jira Legacy | ||||||
---|---|---|---|---|---|---|
|
Jira Legacy | ||||||
---|---|---|---|---|---|---|
|
Operations Tabular editor changes
Jira Legacy | ||||||
---|---|---|---|---|---|---|
|
Jira Legacy | ||||||
---|---|---|---|---|---|---|
|
Plugin Developers
We are planning on moving to C# 7, Visual Studio 2019 and .NET 4.8.0 soon, so you will need to make sure you have updated Visual Studio to continue developing plugins in the beta versions.
...
Jira Legacy | ||||||||||
---|---|---|---|---|---|---|---|---|---|---|
|