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
  • Index
  • » Users
  • » marcolippolis
  • » Profile

Posts

Posts

Dec-08-15 01:25:32
How to create your own library

Hi everyone,
I'm trying to solve some exercise from https://openmodelica.org/useresresource … ca-courses and right now I'm doing Lecture 4 - Connectors.
If you scroll down to slide number 24 there is a code to make Hierarchically Structured Components.
I just copy and paste all the code and OpenModelica show me the error messages below:

[1] 12:10:10 Translation Errore
[PartialDCMotor2: 2:1-2:15]: Class Inport not found in scope PartialDCMotor2.

[2] 12:10:10 Translation Errore
Error occurred while flattening model PartialDCMotor2

How can I create my own library?

Thanks for your help,
Marco

  • Index
  • » Users
  • » marcolippolis
  • » Profile
You are here: