when opening the bouncingballwithimport file which i have downloaded is showing this error[1] 12:49:54 Translation Error[bouncingBallWithImport: 3:3-3:68]: Class Modelica.SIunits.Length not found in scope bouncingBallWithImport.[2] 12:49:54 Translation Error[bouncingBallWithImport: 4:3-4:45]: Class Modelica.SIunits.Length not found in scope bouncingBallWithImport.[3] 12:49:54 Translation Error[bouncingBallWithImport: 5:3-5:49]: Class Modelica.SIunits.Velocity not found in scope bouncingBallWithImport.[4] 12:49:54 Translation Error[bouncingBallWithImport: 6:3-6:82]: Class Modelica.SIunits.Acceleration not found in scope bouncingBallWithImport.
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?
9614 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