Commit 0352115c authored by DaKi404's avatar DaKi404
Browse files

no multiplication by steplength for wastewater nodes

Basically, flows in wastewater nodes are time-independent (g/m3 of concentration) or already in subhourly steps (m3 per 15 minutes), so multiplication by step length not necessary
parent 48b471f4
......@@ -38,7 +38,7 @@ q_balance(gn(grid, node), msft(m, s, f, t)) // Energy/power balance dynamics sol
=E=
// The right side of the equation contains all the changes converted to energy terms
+ p_stepLength(m, f, t) // Multiply with the length of the timestep to convert power into energy
+ p_stepLength(m, f, t) * [((1/p_stepLength(m, f, t))${gn_state('wastewater', node)}) + 1${not gn_state('wastewater', node)}]// Multiply with the length of the timestep to convert power into energy
* (
// Self discharge out of the model boundaries
- p_gn(grid, node, 'selfDischargeLoss')${ gn_state(grid, node) }
......
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