GitHub / ahalev/python-microgrid / commits
python-microgrid is a python library to generate and simulate a large number of microgrids.
| SHA | Message | Author | Date | Stats |
|---|---|---|---|---|
| b7692ae9 | add additional updated tests |
ahalev <a****v@g****m>
Committed by: Avishai Halev <6****v@u****m> |
over 1 year ago | |
| 6b25e9f2 | add new tests |
ahalev <a****v@g****m>
Committed by: Avishai Halev <6****v@u****m> |
over 1 year ago | |
| 09089ccf | remove dupe obs keys |
ahalev <a****v@g****m>
Committed by: Avishai Halev <6****v@u****m> |
over 1 year ago | |
| e561e948 | check for empty observation keys |
ahalev <a****v@g****m>
Committed by: Avishai Halev <6****v@u****m> |
over 1 year ago | |
| fbb78718 | add decorator |
ahalev <a****v@g****m>
Committed by: Avishai Halev <6****v@u****m> |
over 1 year ago | |
| 55039c08 | whitespace |
ahalev <a****v@g****m>
Committed by: Avishai Halev <6****v@u****m> |
over 1 year ago | |
| fe1b30a5 | add new tests |
ahalev <a****v@g****m>
Committed by: Avishai Halev <6****v@u****m> |
over 1 year ago | |
| 4055ab3e | update observation keys to be unique |
ahalev <a****v@g****m>
Committed by: Avishai Halev <6****v@u****m> |
over 1 year ago | |
| 8bf53171 | build python 3.12 |
ahalev <a****v@g****m>
Committed by: Avishai Halev <6****v@u****m> |
about 2 years ago | |
| ba85c6ae | remove deprecated groupby keyword |
ahalev <a****v@g****m>
Committed by: Avishai Halev <6****v@u****m> |
about 2 years ago | |
| d6315054 | fix for numpy>=2.0 |
ahalev <a****v@g****m>
Committed by: Avishai Halev <6****v@u****m> |
about 2 years ago | |
| 90537c6e | pull up compute_net_load method |
ahalev <a****v@g****m>
Committed by: Avishai Halev <6****v@u****m> |
about 2 years ago | |
| 62ba21cd | remove unused code |
ahalev <a****v@g****m>
Committed by: Avishai Halev <6****v@u****m> |
over 2 years ago | |
| c4f1166b | reinit solvers |
ahalev <a****v@g****m>
Committed by: Avishai Halev <6****v@u****m> |
over 2 years ago | |
| 3016ab0f | use a contextmanager |
ahalev <a****v@g****m>
Committed by: Avishai Halev <6****v@u****m> |
over 2 years ago | |
| 6af15ce4 | break in the generator |
ahalev <a****v@g****m>
Committed by: Avishai Halev <6****v@u****m> |
over 2 years ago | |
| ec2b984f | iter through solvers |
ahalev <a****v@g****m>
Committed by: Avishai Halev <6****v@u****m> |
over 2 years ago | |
| 42958686 | check for solver being mosek |
ahalev <a****v@g****m>
Committed by: Avishai Halev <6****v@u****m> |
over 2 years ago | |
| 35c5a4a0 | use solver=None by default |
ahalev <a****v@g****m>
Committed by: Avishai Halev <6****v@u****m> |
over 2 years ago | |
| bd0cfe1e | no seed setting in to nonmod conversion |
ahalev <a****v@g****m>
Committed by: Avishai Halev <6****v@u****m> |
over 2 years ago | |
| 32d71608 | bug fix in mpc with grid weak grid |
ahalev <a****v@g****m>
Committed by: Avishai Halev <6****v@u****m> |
over 2 years ago | |
| b39b149b | rewrite get solver |
ahalev <a****v@g****m>
Committed by: Avishai Halev <6****v@u****m> |
over 2 years ago | |
| 5b01069e | bump version | ahalev <a****v@g****m> | over 2 years ago | |
| 0cbe5a8b | add standardization shaper |
ahalev <a****v@g****m>
Committed by: Avishai Halev <6****v@u****m> |
over 2 years ago | |
| e7b39f75 | add RunningMeanStd class |
ahalev <a****v@g****m>
Committed by: Avishai Halev <6****v@u****m> |
over 2 years ago | |
| b6c99904 | size battery and genset over axis=0a |
ahalev <a****v@g****m>
Committed by: Avishai Halev <6****v@u****m> |
over 2 years ago | |
| 4bc369e8 | lower strings for components in conversion |
ahalev <a****v@g****m>
Committed by: Avishai Halev <6****v@u****m> |
over 2 years ago | |
| 4762f83b | add verbose key to microgridgenerator |
ahalev <a****v@g****m>
Committed by: Avishai Halev <6****v@u****m> |
over 2 years ago | |
| d9d79328 | add file |
ahalev <a****v@g****m>
Committed by: Avishai Halev <6****v@u****m> |
over 2 years ago | |
| c3a64f49 | update benchmarks |
Avishai Halev <6****v@u****m>
Committed by: GitHub <n****y@g****m> |
over 2 years ago | |
| f8f80ef7 | update test |
ahalev <a****v@g****m>
Committed by: Avishai Halev <6****v@u****m> |
over 2 years ago | |
| 8d7b0a30 | update references |
ahalev <a****v@g****m>
Committed by: Avishai Halev <6****v@u****m> |
over 2 years ago | |
| e4c4ea09 | remove new and raise environment_signature_error |
ahalev <a****v@g****m>
Committed by: Avishai Halev <6****v@u****m> |
over 2 years ago | |
| e2adf608 | add env signature error |
ahalev <a****v@g****m>
Committed by: Avishai Halev <6****v@u****m> |
over 2 years ago | |
| 8ea2add2 | update Microgrid.run references |
ahalev <a****v@g****m>
Committed by: Avishai Halev <6****v@u****m> |
over 2 years ago | |
| 5aac05f8 | deprecate Microgrid.run |
ahalev <a****v@g****m>
Committed by: Avishai Halev <6****v@u****m> |
over 2 years ago | |
| 29b29f9d | error with __qualname__ |
ahalev <a****v@g****m>
Committed by: Avishai Halev <6****v@u****m> |
over 2 years ago | |
| f10656ba | clean up deprecation_err decorator |
ahalev <a****v@g****m>
Committed by: Avishai Halev <6****v@u****m> |
over 2 years ago | |
| c64bc1f1 | use new error and warning |
ahalev <a****v@g****m>
Committed by: Avishai Halev <6****v@u****m> |
over 2 years ago | |
| c0520c86 | add basic warnings |
ahalev <a****v@g****m>
Committed by: Avishai Halev <6****v@u****m> |
over 2 years ago | |
| 02502c0c | add basic errors |
ahalev <a****v@g****m>
Committed by: Avishai Halev <6****v@u****m> |
over 2 years ago | |
| ebe22b64 | add errors dir |
ahalev <a****v@g****m>
Committed by: Avishai Halev <6****v@u****m> |
over 2 years ago | |
| 0fe57e3c | change depreciation warning |
ahalev <a****v@g****m>
Committed by: Avishai Halev <6****v@u****m> |
over 2 years ago | |
| b9d1bb3f | update microgrid.run call |
ahalev <a****v@g****m>
Committed by: Avishai Halev <6****v@u****m> |
over 2 years ago | |
| b6fc2381 | fix get_obs call |
ahalev <a****v@g****m>
Committed by: Avishai Halev <6****v@u****m> |
over 2 years ago | |
| 3d388923 | again |
ahalev <a****v@g****m>
Committed by: Avishai Halev <6****v@u****m> |
over 2 years ago | |
| d796f051 | update attribute |
ahalev <a****v@g****m>
Committed by: Avishai Halev <6****v@u****m> |
over 2 years ago | |
| 9c919b00 | no italics in pymgrid |
ahalev <a****v@g****m>
Committed by: Avishai Halev <6****v@u****m> |
over 2 years ago | |
| 0ccd1911 | update genset slack |
ahalev <a****v@g****m>
Committed by: Avishai Halev <6****v@u****m> |
almost 3 years ago | |
| 81a85224 | add additional tests |
ahalev <a****v@g****m>
Committed by: Avishai Halev <6****v@u****m> |
almost 3 years ago | |
| 8a1b4005 | update previous step usage |
ahalev <a****v@g****m>
Committed by: Avishai Halev <6****v@u****m> |
almost 3 years ago | |
| ff53520c | check for increments of 1 |
ahalev <a****v@g****m>
Committed by: Avishai Halev <6****v@u****m> |
almost 3 years ago | |
| d8b16e50 | add reset to decay model |
ahalev <a****v@g****m>
Committed by: Avishai Halev <6****v@u****m> |
almost 3 years ago | |
| 4b808ba2 | add dynamic clip test |
ahalev <a****v@g****m>
Committed by: Avishai Halev <6****v@u****m> |
almost 3 years ago | |
| a0c60f03 | add DecayCycleTransitionModel |
ahalev <a****v@g****m>
Committed by: Avishai Halev <6****v@u****m> |
almost 3 years ago | |
| 95240acc | fix low, high bounds in clip_module_action for genset module |
ahalev <a****v@g****m>
Committed by: Avishai Halev <6****v@u****m> |
almost 3 years ago | |
| ce10f2a3 | revert to analyze_shaper.py removal |
ahalev <a****v@g****m>
Committed by: Avishai Halev <6****v@u****m> |
almost 3 years ago | |
| 753c4b46 | add base tests |
ahalev <a****v@g****m>
Committed by: Avishai Halev <6****v@u****m> |
almost 3 years ago | |
| 8c096310 | update observation_space tests to acknowledge included net_load |
ahalev <a****v@g****m>
Committed by: Avishai Halev <6****v@u****m> |
almost 3 years ago | |
| 34837f1b | flip env.flatten_obs |
ahalev <a****v@g****m>
Committed by: Avishai Halev <6****v@u****m> |
almost 3 years ago | |
| f9a30a8f | add net_load as first element in state_dict |
ahalev <a****v@g****m>
Committed by: Avishai Halev <6****v@u****m> |
almost 3 years ago | |
| 4c6c692b | use new _get_obs in env.step and env.reset |
ahalev <a****v@g****m>
Committed by: Avishai Halev <6****v@u****m> |
almost 3 years ago | |
| 189bed4e | update _get_obs to remove obs input |
ahalev <a****v@g****m>
Committed by: Avishai Halev <6****v@u****m> |
almost 3 years ago | |
| 9fbd25ce | compile observation space in same way independent of observation_keys |
ahalev <a****v@g****m>
Committed by: Avishai Halev <6****v@u****m> |
almost 3 years ago | |
| f1aac5d6 | put net load in obs space if no observation_keys are passed |
ahalev <a****v@g****m>
Committed by: Avishai Halev <6****v@u****m> |
almost 3 years ago | |
| 7c214285 | add deprecation wrappers |
ahalev <a****v@g****m>
Committed by: Avishai Halev <6****v@u****m> |
almost 3 years ago | |
| 2984057a | obj_linkcode in init |
ahalev <a****v@g****m>
Committed by: Avishai Halev <6****v@u****m> |
almost 3 years ago | |
| a0f27cb9 | deprecate Microgrid.run in favor of Microgrid.step |
ahalev <a****v@g****m>
Committed by: Avishai Halev <6****v@u****m> |
almost 3 years ago | |
| 012a48bd | use pulled out func |
ahalev <a****v@g****m>
Committed by: Avishai Halev <6****v@u****m> |
almost 3 years ago | |
| f20893b9 | pull out obj_linkcode func |
ahalev <a****v@g****m>
Committed by: Avishai Halev <6****v@u****m> |
almost 3 years ago | |
| a05ae0e7 | add new genset status oor test |
ahalev <a****v@g****m>
Committed by: Avishai Halev <6****v@u****m> |
almost 3 years ago | |
| ded77809 | add new genset status oor test |
ahalev <a****v@g****m>
Committed by: Avishai Halev <6****v@u****m> |
almost 3 years ago | |
| 406ff82d | allow dict_op on single dict input |
ahalev <a****v@g****m>
Committed by: Avishai Halev <6****v@u****m> |
almost 3 years ago | |
| 34eae2c9 | formatting |
ahalev <a****v@g****m>
Committed by: Avishai Halev <6****v@u****m> |
almost 3 years ago | |
| 420557a2 | use microgrid_action_space.clip |
ahalev <a****v@g****m>
Committed by: Avishai Halev <6****v@u****m> |
almost 3 years ago | |
| c39d49a5 | fix bad tests |
ahalev <a****v@g****m>
Committed by: Avishai Halev <6****v@u****m> |
almost 3 years ago | |
| 7783d89d | fix assertion |
ahalev <a****v@g****m>
Committed by: Avishai Halev <6****v@u****m> |
almost 3 years ago | |
| 785c56eb | add clip if converting to relative |
ahalev <a****v@g****m>
Committed by: Avishai Halev <6****v@u****m> |
almost 3 years ago | |
| a98b3e1f | This reverts commit 2b7f6ecc5e17a23c4fe26f9423ccf43085745e0b. | ahalev <a****v@g****m> | almost 3 years ago | |
| ca15d7bd | fix continuous env action check |
ahalev <a****v@g****m>
Committed by: Avishai Halev <6****v@u****m> |
almost 3 years ago | |
| 2b7f6ecc | fix continuous env action check | ahalev <a****v@g****m> | almost 3 years ago | |
| 8260cb5f | better err messages in slack module |
ahalev <a****v@g****m>
Committed by: Avishai Halev <6****v@u****m> |
almost 3 years ago | |
| 567979ce | better err messages in slack module |
ahalev <a****v@g****m>
Committed by: Avishai Halev <6****v@u****m> |
almost 3 years ago | |
| 38b2d1af | do not copy dict in logging |
ahalev <a****v@g****m>
Committed by: Avishai Halev <6****v@u****m> |
almost 3 years ago | |
| e81c6125 | do not copy dict in logging |
ahalev <a****v@g****m>
Committed by: Avishai Halev <6****v@u****m> |
almost 3 years ago | |
| 10444bcb | compute net load once per step |
ahalev <a****v@g****m>
Committed by: Avishai Halev <6****v@u****m> |
almost 3 years ago | |
| 2bacb8e7 | delegate if keys are not unique in modules |
ahalev <a****v@g****m>
Committed by: Avishai Halev <6****v@u****m> |
almost 3 years ago | |
| 034002e3 | update _get_obs for efficiency if flat |
ahalev <a****v@g****m>
Committed by: Avishai Halev <6****v@u****m> |
almost 3 years ago | |
| 5bb82644 | clip only if necessary |
ahalev <a****v@g****m>
Committed by: Avishai Halev <6****v@u****m> |
almost 3 years ago | |
| 5fa68102 | clip only if necessary |
ahalev <a****v@g****m>
Committed by: Avishai Halev <6****v@u****m> |
almost 3 years ago | |
| b7ed351a | remove dir check in Container.__getattr__ |
ahalev <a****v@g****m>
Committed by: Avishai Halev <6****v@u****m> |
almost 3 years ago | |
| c9b17a0d | remove dir check in Container.__getattr__ |
ahalev <a****v@g****m>
Committed by: Avishai Halev <6****v@u****m> |
almost 3 years ago | |
| dcb09af3 | compute baseline cost only if necessary |
ahalev <a****v@g****m>
Committed by: Avishai Halev <6****v@u****m> |
almost 3 years ago | |
| e6aa3c28 | compute baseline cost only if necessary |
ahalev <a****v@g****m>
Committed by: Avishai Halev <6****v@u****m> |
almost 3 years ago | |
| d6eb74a8 | ask for forgiveness rather than permission in compute_net_load |
ahalev <a****v@g****m>
Committed by: Avishai Halev <6****v@u****m> |
almost 3 years ago | |
| e831703c | ask for forgiveness rather than permission in compute_net_load |
ahalev <a****v@g****m>
Committed by: Avishai Halev <6****v@u****m> |
almost 3 years ago | |
| 969ce195 | remove analyze_shaper.py |
ahalev <a****v@g****m>
Committed by: Avishai Halev <6****v@u****m> |
almost 3 years ago | |
| fcf24398 | update status to bool in loaded files |
ahalev <a****v@g****m>
Committed by: Avishai Halev <6****v@u****m> |
almost 3 years ago | |
| ebe9d050 | remove assertion in BatteryDiscchargeShaper |
ahalev <a****v@g****m>
Committed by: Avishai Halev <6****v@u****m> |
almost 3 years ago | |
| 552da67e | save computation in BaselineShaper |
ahalev <a****v@g****m>
Committed by: Avishai Halev <6****v@u****m> |
almost 3 years ago |