Here is the full log: (location share is okay, it's the Van Gogh museum)
vscode ➜ /workspaces/pvcast $ python3 -m src.pvcast
2023-06-01 21:43:39 DEBUG (MainThread) [src.pvcast.model.pvmodel] Creating PV system model for system EastWest
2023-06-01 21:43:39 DEBUG (MainThread) [src.pvcast.model.pvmodel] Creating PV system model for array East
2023-06-01 21:43:39 DEBUG (MainThread) [src.pvcast.model.pvmodel] Creating PV system model for array West
Traceback (most recent call last):
File "<frozen runpy>", line 198, in _run_module_as_main
File "<frozen runpy>", line 88, in _run_code
File "/workspaces/pvcast/src/pvcast/__main__.py", line 33, in <module>
main()
File "/workspaces/pvcast/src/pvcast/__main__.py", line 29, in main
pv_model = PVModelChain(config["plant"], location=(52.35845515630293, 4.88115070391368))
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/workspaces/pvcast/src/pvcast/model/pvmodel.py", line 36, in __init__
self._pv_model: list([ModelChain]) = self._create_pv_model()
^^^^^^^^^^^^^^^^^^^^^^^
File "/workspaces/pvcast/src/pvcast/model/pvmodel.py", line 82, in _create_pv_model
modelchain = ModelChain(
^^^^^^^^^^^
File "/usr/local/lib/python3.11/site-packages/pvlib/modelchain.py", line 499, in __init__
self.temperature_model = temperature_model
^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.11/site-packages/pvlib/modelchain.py", line 525, in __setattr__
super().__setattr__(key, value)
File "/usr/local/lib/python3.11/site-packages/pvlib/modelchain.py", line 1051, in temperature_model
name_from_params = self.infer_temperature_model().__name__
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.11/site-packages/pvlib/modelchain.py", line 1073, in infer_temperature_model
not params and self.system.racking_model is None
^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.11/site-packages/pvlib/pvsystem.py", line 64, in f
x = func(*args, **kwargs)
^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.11/site-packages/pvlib/pvsystem.py", line 90, in wrapper
raise AttributeError(
AttributeError: PVSystem.racking_model not supported for multi-array systems. Set racking_model for each Array in PVSystem.arrays instead.
Op donderdag 1 juni 2023 om 23:46:57 UTC+2 schreef Stefan: