Commit 5904fe32 authored by jussi ikäheimo's avatar jussi ikäheimo
Browse files

Simplifiy q_superposStateUpwardLimit.

parent a3bc98ed
......@@ -2689,12 +2689,12 @@ q_superposStateMin(gn_state(grid, node_superpos(node)), msft(m, s, f, t))..
*--- Upward limit for superpositioned states -----------------
* Note: this
* Note:
q_superposStateUpwardLimit(gn_state(grid, node_superpos(node)), mz(m,z))..
// Utilizable headroom in the state variable
+ [
// Upper boundary of the variable
+ p_gnBoundaryPropertiesForStates(grid, node, 'upwardLimit', 'constant')${p_gnBoundaryPropertiesForStates(grid, node, 'upwardLimit', 'useConstant')}
......@@ -2716,11 +2716,7 @@ q_superposStateUpwardLimit(gn_state(grid, node_superpos(node)), mz(m,z))..
v_statemax(grid, node, s_)
)
] // END Headroom
*
// Conversion to energy
p_gn(grid, node, 'energyStoredPerUnitOfState')
=G= 0
;
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment