-
Notifications
You must be signed in to change notification settings - Fork 11
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Reactive output register simulation #4
Comments
@wongjasont I will take a look in to this. This is a very good feature to have but unfortunately I am finding it hard to work on these enhancements due to time constraint. There is no definite timeline. If you would like to take it up on your own, you are most welcome. You can have a look in to following methods Note: The code needs a lot of refactor as it has a lot of UI related stuff (from the UI version) |
A question; I've checked those functions you pointed out, added some "prints" (also tried printing via logger if print was disabled) just to see how they execute with the simulator but unfortunately I don't see them being executed. I hope you could shed some light on how I could do this enhancement. I'm happy to work on this myself and perhaps help you out with this project by sharing my changes. Note: Just learned PYTHON 2 days ago. I'm actually a JavaScript Developer. |
@wongjasont apologies for the delayed response, I am glad that you want to contribute. To activate the simulation this method needs to be invoked. The method is still in it's GUI form (that is depends on the state of the button), you can change the argument to simple boolean (True -> Start Simulation and False -> Stop simulation). You will have to pass that info from the config file or from command line argument. (IT would require some code change and I am not sure of the complexity it involves) I would see if I can give some thing over the weekend. Thanks |
When setting Also, when I've tried executing
Is there any part of the code where I can access the register data as if modifying them? It will be really helpful if you could point me in that direction. Thanks! |
As I checked in
Were never initialized thus simulating seems impossible. That is why I asked in my last comment how to modify the models from the running servers |
In real cases, when input registers change in value, some output registers would also change in value. For example, in an electric fan unit, an input register for power goes up, an output register for rotations per minute will also go up. Ofcourse the relationship of those two values isn't always linear. We actually need this feature and perhaps attach other kinds of formulas f(x) = y (perhaps via config) to simulate relationships between registers and also reaction times.
This is a very important feature to us. We'd like to know if this can be completed soon, otherwise, we'd like to ask for some direction perhaps which files and lines to check to implement this
The text was updated successfully, but these errors were encountered: