I have exported the model PhotoVoltaics_TGM.TGM_Comax_Measurement_20160808 of Photovoltaics_TGM library as fmu and when I am trying to simulate it in python through FMPy with the command simulate_fmu I am getting the following error:
assert | debug | Model error: Argument of sqrt(converter.iAC.re ^ 2.0 + converter.iAC.im ^ 2.0) was nan should be >= 0
The model info is the following:
Model Info
FMI Version 2.0
FMI Type Co-Simulation
Model Name PhotoVoltaics_TGM.TGM_Comax_Measurement_20160808
Description Measured irradiance model on 2016-08-08; Comax modules at TGM building in Vienna, Austria
Platforms c-code, win64
Continuous States 3
Event Indicators 2
Variables 413
Generation Tool OpenModelica Compiler OpenModelica v1.16.5 (64-bit)
Generation Date 2021-06-03T20:14:20Z
Default Experiment
Stop Time 86400
Tolerance 1e-08
Variables (input, output)
Name Causality Start Value Unit Description
Any idea of what is going on?