arras-energy / gridlabd

Arras Energy simulator
https://www.arras.energy/
BSD 3-Clause "New" or "Revised" License
6 stars 5 forks source link

Python Module Enhancements #84

Open aivanova5 opened 5 years ago

aivanova5 commented 5 years ago

This issue is carried over from Merge with Issues (#100 )

Current issues

  1. The reset method is not yet implement due to lack of free calls in gldcore after run is completed.
  2. get_transform() is not yet implement
  3. Unit conversion for complex values not yet implemented.
  4. Class event handlers cannot be added.
  5. There is no way to implement a new GridLAB-D class in python yet. The module needs to define a base class GldObject to do that.
  6. Object event handlers are only called if there is an event handler already defined for the object's class.
  7. Output streams are not flushed immediately so sometimes the messages from different stream appear on stdout and stderr in a different order than they were received.
  8. The function set_global() does not work before the simulation is started because the core hasn't initialized yet.
  9. script command should support entire python and gridlabd internal module calls.
aivanova5 commented 5 years ago

To build on docker run commands for python3 install and ncurses install:

%host yum install centos-release-scl
%host yum install rh-python36
%host python —version
%host scl enable rh-python36 bash
%host yum install ncurses-devel
dchassin commented 2 years ago
  1. Automate python3 install done
  2. Automate ncuses install done