Comments (3)
Okay I found problem. I passed the wrong dict with pressures of nodes as the link_attribute
param of plot_network
.
from wntr.
@FirokOtaku I had previously had problems with EPANET and unicode labels failing. My understanding is that EPANET only accepted 8-bit encoding, not unicode wide characters (certainly in the binary output file). Has this changed, then? I had not seen notice on the EPANET github that it had.
from wntr.
@dbhart My understanding is that EPANET only accepted 8-bit encoding, not unicode wide characters (certainly in the binary output file). Has this changed, then?
When setting Chinese as major language of Windows, GBK would be the default encoding and lots of programs would just use that to perform filesystem IO.
I'm not sure about how underlying code of EPANET runs. Only thing I can tell is that .inp
files exported by EPANET 2.2 are in the default encoding of OS (which is GBK in my enviroment). That behavior is similar to other softwares.
Hope that information can help a little.
from wntr.
Related Issues (20)
- Smaller and variable step-size for solver HOT 9
- How to Avoid 'Reached maximum number of iterations' HOT 1
- Choose location for temp files en***** HOT 1
- How to get a list of pipes names from a list of start , end nodes (tuple) HOT 1
- Adding a list of actions to rules HOT 2
- ENsetlinkvalue unexpectedly fails to change attributes HOT 2
- new added control does not work HOT 2
- 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
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.