Comments (10)
I believe the wntr.metrics.cost function provides a cost based on the design of the network (investment cost) rather than the operating cost. It sounds like you want the operating cost. Is that correct? I don't think WNTR supports pump operating costs yet.
from wntr.
Hello Michael, thank you for the reply.
I read from the "WNTR Documentation-Release 0.1.2 (DRAFT Documentation)" that "Network cost is the annual maintenance and operations cost of tanks, pipes, vales, and pumps based on the equations from the Battle of Water Networks II [SOKZ12]. Default values can be included in the calculation. Network cost can be computed using the cost method."(pp42 of the document)
from wntr.
Ah, sorry - my mistake - let me clarify. I thought you were looking for the pump cost based on the results of a simulation. The wntr.metrics.cost function does give an estimate of the annual maintenance and operations cost, but it is estimated from the design of the network rather than the results of a simulation. For example, the pumping cost from wntr.metrics.cost provides a cost estimate based off of the maximum power output of the pump (not the actual flowrate of water through the pump at a given time).
Can you specify exactly what you are looking for?
@kaklise Can you confirm what I have said?
from wntr.
from wntr.
Thank you both for your clarification.
Michael your initial guess is right. I'm trying to extract the pumping energy based on actual demand at each junction (simulation results). I'm working on a project that looks at the impact of rain harvest system on the water distribution system (e.g. change of demand, energy consumption and average water age).
Just a quick edit: the annual maintenance and operation costs for tanks and pipes are fixed (not dependent upon the simulation results), right? Or I just need to proportionally scale the cost based on actual demand?
from wntr.
Okay, in that case, WNTR does not currently support what you are looking for. It should not be difficult to add though. I will try to add this functionality early next week.
Nothing computed in wntr.metrics.cost depends on simulation results.
from wntr.
Thanks Michael!
from wntr.
zerateltu,
Are you using price patterns? That is going to take me a bit longer to implement. Other than price patterns, I almost have this finished - I just need to add a couple tests.
from wntr.
Hello Michael,
Thank you for the quick update. My primary goal is to be able to extract the pumping energy from the simulation. It will be great if I can also obtain the corresponding maintenance cost and GHG emissions.
Regards
from wntr.
Pull request #25 should take care of this issue. There is now a pump_energy function in the metrics module to compute pump energy and cost from simulation results. See http://wntr.readthedocs.io/en/latest/apidoc/wntr.metrics.economic.html#wntr.metrics.economic.pump_energy for detailed information.
from wntr.
Related Issues (20)
- Epaneet dylib not available for Darwin HOT 2
- wntr.network.io.from_gis does not capture vertices
- `network_animation` does not behave as intended in Jupyter Notebooks HOT 1
- POSSIBILITY OF NEGATIVE PRESSURE HOT 5
- Questions about optimal scheduling of pumping stations HOT 1
- runnin the program HOT 3
- wntr.network.options has some abnormal annotation contents HOT 1
- Writing an inp file 'self' argument error message HOT 2
- Create a control object or rule object from text input HOT 5
- Get the reactions tab in the inp file from a water network instance HOT 1
- Add PBV support to [VALVES] section
- Generating Interactive leaflet networks HOT 7
- Pipe status problem HOT 4
- AttributeError: 'WaterNetworkModel' object has no attribute 'write_inpfile' HOT 3
- Differences with my epanet from zero model and inp from wntr model HOT 4
- Values in [DEMANDS] section are repetead and others are missing HOT 8
- Unable to remove leaks from network model HOT 3
- Not able to save the network with modified elements as an INP file. HOT 2
- EPANET Error 110 HOT 1
- leaflet map popups HOT 5
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from wntr.