masfaraud / BMSpy

Python Block-Model Simulator. An alternative to simulink in python.
GNU Lesser General Public License v3.0
222 stars 36 forks source link

Make the simulator easier to use. #15

Closed ericonr closed 5 years ago

ericonr commented 6 years ago

This PR is basically to make model development easier. The changes were:

masfaraud commented 6 years ago

I'm not forgetting your PR, I'll review it when on vacations :)

ericonr commented 6 years ago

No problem! I might have more stuff to add when you review it :D

masfaraud commented 5 years ago

I merged your PR. What I changed: simplified blocks and signals you defined are moved in files. Your time class was changed to a simple instantiation of ramp with amplitude = 1 and can be found as bms.signals.functions.unit_ramp

masfaraud commented 5 years ago

Thanks for your time, I'll try to be more reactive in the future!