Home
Blogs
Questions
Jobs
Monetize

Home

About Us

Blogs

Questions

Jobs

Monetize

Post Job

banner

Questions about openmodelica

Read more about openmodelica

python (12.9k questions)

javascript (9.2k questions)

reactjs (4.7k questions)

java (4.2k questions)

java (4.2k questions)

c# (3.5k questions)

c# (3.5k questions)

html (3.3k questions)

Questions - openmodelica

Is there a way to disable auto-formatting code in OpenModelica?

I have created several models manually in OpenModelica using the text editor, most of which are nested inside of packages. When I am building a model in this way, I will typically keep things aligned...
test-img

Jonathon S.

modelica

openmodelica

Votes: 0

Answers: 0

How do I allow access to variables in enclosing scope in modelica?

I tried this model from the book by Fritzson (2015, section 3.16 on page 102) to better understand variable lookup. The one modification I made is that I instantiated IC and BC as variables ic and bc....
test-img

paul

modelica

dymola

openmodelica

Votes: 0

Answers: 1

Latest Answer

It is possible to fix using inner outer as follows (there are also other possibilities): class RC inner Real x; // <<-- Inner class IC Integer x; equation x = 2; end IC; clas...
test-img

Hans Olsson

Hi, can you help me to plot a sine wave by the below code for OpenModelica

model ElectricField2 Real Eta=377; Real Jso=2.58*10^1; Real Hy; Real P; Real Px; Real w=12.56*(10^9); Real Ex; Real f; protected constant Real pi=Modelica....
test-img

Black_013

waveform

openmodelica

Votes: 0

Answers: 0

Posts

Questions

Blogs

Jobs

The ultimate platform for coders and IT specialists

About

  • Company
  • Support

  • Platform

  • Terms & Conditions
  • Privacy statement
  • Cookie policy
  • Cookie option
  • OnlyCoders © 2025  |  All rights reserved