Comments (5)
Not sure if we had a reason for this, but why is the CACU implemented on top of SimPy? We could simply do a while True
and send requests once per minute using sleep :)
from vessim.
Ah yes, no I copied that from your notebook. But still, if we want to achieve similiar results to the simulated scenario, I think the requests should be made as a thread to not fall behind the total runtime.
from vessim.
but the cacu as well as the API server are independent processes, they should have nothing to do with the simulation, no?
from vessim.
yes but we want to recreate the data from your paper. Now in your notebook there is no delay for setting the power mode. However, there is in the real cacu as of now. Should the cacu wait until the power mode is set in the VES or continue, i.e. the power mode request is executed as a thread? If the cacu is excuted on the same machine as the simulation this probably does not matter but I think we still need to cover other cases.
from vessim.
=> 60s for each "step". Determine a time delta for the step execution time and then time.sleep(60 - delta)
from vessim.
Related Issues (20)
- Consistent Logging throughtout Project
- AWS Node
- Reimplement Redis into Api Server
- Running cosim_example requires "requests" dependency HOT 2
- How to Handle Failed HTTP Requests? HOT 1
- Support for Simulated Nodes in SIL Scenario HOT 1
- `min_soc` field in `vessim.core.storage`
- Improve documentation of storage module
- Inconsistent Object Access across Mosaik Simulators
- RedisDocker keeps running after simulation is terminated HOT 6
- CACU Scenario Base Class HOT 1
- Examples can not be run after installing the distribution package
- Frequency Behaviour for Forecasts
- Times Zones for TraceSimulator
- `apply_error()` Function
- Incompatible readthedocs build with new interface
- Integration test pipeline incompatible with new interface
- Consistently integrate real time factor across SiL-related modules
- Simulation Does Not Call Mosaik's `finalize()` When `HttpPowerMeter` is Initialized with Non Reachable Server HOT 1
- Supress Mosaik Warnings
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 vessim.