2no tests fail and examples don't run from fresh install
I'm interested in mosaik-heatpump so decided to install and run. Unfortunately when I installed I encountered the following issues.
running tests:
mamba create -n mosaik-heatpump-dev python numpy # create blank env
pip install mosaik-heatpump
pytest
# Command 'pytest' not found, but can be installed with:
mamba install pytest
pytest
# tests/test_hotwatertank.py ..............FF..
# =============================================== short test summary info ================================================
# FAILED tests/test_hotwatertank.py::test_step_heating_rod - KeyError: 'eta'
# FAILED tests/test_hotwatertank.py::test_max_temp_heating_rod - KeyError: 'eta'
running examples:
cd examples
python run_heatpump.py
# mosaik.exceptions.ScenarioError: Simulator "CSV" could not be started: Could not import module: No module named 'mosaik_csv' --> No module named 'mosaik_csv'
pip install mosaic-csv
python run_heatpump.py
# FileNotFoundError: [Errno 2] No such file or directory: 'data/Heatload_R1.csv'
# USER ACTION: changed name 'Heatload_R1.csv' -> 'HeatLoad_R1.csv'
python run_heatpump.py
# mosaik.exceptions.ScenarioError: At least one attribute does not exist: Entity('HeatPumpSim-0', 'HeatPump_0', 'HeatPumpSim', HeatPump).T_amb
python run_tank.py
# mosaik.exceptions.ScenarioError: Simulator "HotWaterTankSim" could not be started: Invalid version "(3, 0, 3)": HotWaterTankSim-0 contains an unknown type: 'time_based'. Please check for typos in your Simulators 'HotWaterTankSim' meta and scenario.