Archived OpenModelica forums. Posting is disabled.

Alternative forums include GitHub discussions or StackOverflow (make sure to read the Stack Overflow rules; you need to have well-formed questions)


Forgot password? | Forgot username? | Register

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

Edited by: scoia - Jul-21-21 03:25:29
Attachments:

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;"

There are 0 guests and 0 other users also viewing this topic
You are here: