hey i'm trying to model a motor and a pump. does anyone have any experience? can someone help mei can pay you for your time. Thanks
Hello, I am sharing 2 links that contain the photos of my problems that I faced in the Packages Modelica tutorial. The first problem is that I cannot see the text when I open the package.mo as you can. I just see 3-4 lines of code but none of the classes created.secondly, when I use the import statement, a dialog box opens. Please refer to the images I have shared. Thank you!https://drive.google.com/file/d/1VfzmrpFlIRDt-rvWnKwEXNNwCJU5k_1c/view?usp=sharing and https://drive.google.com/file/d/1LLKRt8t2fMlUTKF_rBN-ZIk1YyKfPYUZ/view?usp=sharing
I followed the tutorial and was able to load the spokenTutorialExamples package that I downloaded from the site. However, when i try to define my own packages by first saving the different classes and then using text editor to insert the 'within' keyword, when I select package.mo in OMEdit, the package loads but does not show the contents of all contained classes. However, the classes are visible when I expand the package and when I click on a particular class, it opens along with the 'within' statement as the first line. Can you please guide me as to how I can define a package on my own?
9230 visits
Outline:Defining Package Defining Single file storage Creating a package of classes Using Within statement Using Modelica library Reference classes in a package Using Import statements
Defining Package Defining Single file storage Creating a package of classes Using Within statement Using Modelica library Reference classes in a package Using Import statements
Show video info
Pre-requisite