Comments (2)
This is what it is doing now, if there isn't a demand at that time step, it assigns the value of the demand_eq at t=0. Also this causes that the inital calc_demand for all the commodities is the demand_eq at t=0.
if time not in self.commodity_demand[commod]:
t = 0
self.commodity_demand[commod][time] = eval(self.demand_eq)
from d3ploy.
closed by #282
from d3ploy.
Related Issues (20)
- combine demand driven inst and supply driven inst HOT 3
- D3ploy can't divide the production of power into different types of reactors. HOT 3
- D3ploy doesn't record the capacity of the mixer when it has multiple inputs for a commodity HOT 10
- pytest - ImportError: cannot import name 'main' HOT 21
- Buffer Type change HOT 1
- D3ploy is not running FFT properly on numpy 1.16.4 HOT 10
- Add function in tester.py to obtain cumulative difference between demand and supply HOT 1
- Mixer doesn't record the demand of all the input commodities. HOT 1
- constraint commodity capability bug HOT 1
- d3ploy fails to record the capacity of mixers deployed with multiple inputs HOT 2
- D3ploy fails to record the capacity of mixers when they are deployed using the same commodity. HOT 1
- Buffer malfunctioning HOT 6
- D3ploy Doesn't Work HOT 13
- update config.yml file to include all the new tests HOT 3
- Some of the methods don't actually use the back_steps HOT 1
- Some of the prediction methods don't have the capability to look forward. HOT 3
- Installed cap should't be used with the back end HOT 3
- Installation Issue HOT 16
- Update Documentation HOT 2
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 d3ploy.