- Index
- » Usage and Applications
- » OpenModelica Usage and Applications
- » Error with SolarTherm Library
Error with SolarTherm Library
Error with SolarTherm Library
I am currently running Modelica 3.2.3, and I am using the SolarTherm library which is from version 3.2.2. When I tried to use SolarTherm.Models.Sources.Weather.WeatherSource (the file is attached), I got an error stating "[SolarTherm.Models.Sources.Weather.WeatherSource: 32:2-32:25]: date.t is not a valid connector." Does anyone know a way to potentially fix this? Any help would be appreciated. Thank you!
WeatherSource.mo
Re: Error with SolarTherm Library
The connect equation must be used with two connectors, it can't be used for entities that are not connectors. date.t for example is just an output Real. Change the connection equation for just an equation, for example: "date.t = wbus.t;"
- Index
- » Usage and Applications
- » OpenModelica Usage and Applications
- » Error with SolarTherm Library