I’m struggling to get emhass working in legacy mode in order to easier test my parameters and view log/debug output before I intend to get the standalone docker version up and running.
But I’m running into issues with the accepted parameters. According to documentation, the legacy version should accept all kinds of parameters, most importantly the --runtimeparams parameter so I can pass cost forecast to my model. I get my costs from Nordpool, and then add some additional costs from my provider. But emhass objects when I add --runtimeparams, saying it’s an unrecognized argument. Not even the --version argument is accepted.
> emhass --action 'dayahead-optim' --config '.\' --runtimeparams '{"load_cost_forecast": [125.07, 123.07, 121.07, 120.07, 126.07, 125.07, 123.07, 124.07, 126.07, 131.07, 142.07, 152.07, 164.07, 152.07, 146.07, 143.07, 136.07, 133.07, 131.07, 130.07, 131.07, 131.07, 132.07, 132.07], "prod_price_forecast": [108.96, 106.96, 104.96, 103.96, 109.96, 108.96, 106.96, 107.96, 109.96, 114.96, 125.96, 135.96, 147.96, 135.96, 129.96, 126.96, 119.96, 116.96, 114.96, 113.96, 114.96, 114.96, 115.96, 115.96]}'
C:\Users\Ivar\Documents\Programmering\Python\emhass\emhassenv\Lib\site-packages\pvlib\forecast.py:20: UserWarning: The forecast module algorithms and features are highly experimental. The API may change, the functionality may be consolidated into an io module, or the module may be separated into its own package.
warnings.warn(
usage: emhass [-h] [--action ACTION] [--config CONFIG] [--costfun COSTFUN]
emhass: error: unrecognized arguments: --runtimeparams {load_cost_forecast: [125.07, 123.07, 121.07, 120.07, 126.07, 125.07, 123.07, 124.07, 126.07, 131.07, 142.07, 152.07, 164.07, 152.07, 146.07, 143.07, 136.07, 133.07, 131.07, 130.07, 131.07, 131.07, 132.07, 132.07], prod_price_forecast: [108.96, 106.96, 104.96, 103.96, 109.96, 108.96, 106.96, 107.96, 109.96, 114.96, 125.96, 135.96, 147.96, 135.96, 129.96, 126.96, 119.96, 116.96, 114.96, 113.96, 114.96, 114.96, 115.96, 115.96]}