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

How to set switches in a control model

How to set switches in a control model

Hi,
I want to develop some kind of controller models. They have all the same concept. They have some measurements (voltage for instance) and base on these measurements they have a boolean output which defines the settings of some switches. I have attached a simple model. For reasons I do not understand, the compiler is not able to compile this model.
But my questions is more basic. Presumably my concept is not the right one. Hence I would like to rephrase my requirement:

How do I design a model, which
a) receives some real input data
b) provide some boolean output data
c) change the boolean output data only at some definite time intervals (1ms for instance)

TC-BMS.mo

BMS.mo

Edited by: Harvey.Weargol - Feb-17-19 11:02:50
There are 0 guests and 0 other users also viewing this topic
You are here: