I have the same questions but I am waiting for them to get there. I noticed in the live presentations that The models were displayed on their version System Modeler. I will make the suggestion that in the future the class presenters start with the same “virgin” copy of the System Modeler so that we don’t have to deal with the differences between what they see and what we see when we try to replicate it. It’s a little confusing and time consuming to catch up. Educational once you figure it out. But less structured than maybe would be helpful.
I found “Modeling and Identification of Dynamic Systems” c2021 by Ljung et all available at adlibiris.com and biblio.com, though adlibirs only seems to ship to Sweden.
I will try to cover this is today’s session.
This has been the best set of classes on System Modeler that I’ve seen so far, and it’s opening my eyes to what is possible. I see cool examples out of mechanical engineer and other disciplines. I’d be curious to see some canonical problems in electrical engineering solved. You can do lumped elements but I think you could create boxes that have lumped elements inside of them. RLC circuits or microwave resonator cavities. It would be fun to build a garage of “stuff”.
Like measure the amplitude and phase pass-band response of a band-pass filter where you can add resonators to extend it’s performance and equalize its phase response.
Or computing the phase noise of an analog synthesizer with a phase locked loop. And a digital version too.
Quantization spurs of an ADC.
Intermodulation products of an amplifier operating near compression. That sort of thing.
Or maybe a test bench, where you could have a vector signal analyzer that could plot the constellation and the eye diagram of a noisy QPSK signal.
Ankit,
I found all the answers to my questions by reviewing the first class with the recording. It was because some important steps for beginners were missed.
Thank you for your consideration of my inquiries.
See you soon.. ![]()
P.S. It was me to request Wolfram to teach us this and some other courses and daily study groups that Wolfram had not taught us before. I do need to learn the skills, which was one of the biggest reasons for me to have learned Wofram Language through the classes and daily study groups. THANK YOU!
Hello Ankit,
I had troubles during the steps in WM 14 in the Start simple session. The solutions.step5 model crashed. Was this a common experience? Edit - I went back to this and found the problem, no need to answer.
I have a question also. Can you show how to save parameter adjustments made in Simulate back to the model?
Thank you,
John
Hello Ankit,
Thank you for sharing that file. Indeed, you created it after the most recent training session. It was sent to me then as well. Inspiring to say the least. At the time I was using version 13 of WM and SM so had to edited your file to work with those versions.
Still it’s daunting to look through the Modelica files to understand how the equations of state were programmed, surely someone must have created a better documentation. I’ll keep looking.
Great job, with this training. It’s the best so far.
John.
Thank you Ankit,
To further clarify, you were showing us that the documentation centre automatically create an icon version of the model in the documentation head. That didn’t happen for me as I was following along with you.
John
Hello Ankit,
So I am going back through the lectures slowly and running WL 14 and SM 14 and trying to replicate your steps to see what works and what does not. In lecture 2 when you got the the step where you entered
SystemModeler[modelName, “”]
Highlighting the quotes automatically gave you the options you could put in there - standard WL feature. But when I did that, nothing happened. When I typed it the word Diagram or Modeling the command worked as expected. I just did not get the list of options. When something like that happens, it often indicates the instructor is using a Beta of the next release of WL or SM. Are you? Or is something else going on you can help me with?
Carl
Also the options like Frame->None are not recognized… The word “Frame” comes out in red font. Also if I use “false” same result…
OK so I answered my second question: The suggestion bar at the bottom of the graph is not creating a list of options. If I place the curly bracket like you did manually, it will accept the Frame->False or None options. I don’t know if that’s a bug with WL 14 or SM 14, but it’s not working the way it should. I’m running both on a MAC.
Hello Carl,
I’ll try to help on this, if it continues not to work, please inform so Ankit can help further.
Starting from a fresh Kernel, ie Evalutation>Quit Kernel>StartKernel.
It works for me (WM 14, SM14) when I run this sequence of commands,
Text Line : Load the system modeling functionalities:
SystemModel;
Text LIne : Load the model diagram:
modelName = "ModelingPrinciples.Coffee.Exercises.Step1";
Now when you type the command below, on starting to type the Quotation mark, you will initially only see the leading Quote and the drop down menu of options to choose from. Once “Diagram” is selected the command is populated with “Diagram”
SystemModel[modelName, "]
Hope this was helpful,
John Burgers.
Further to the above Carl, …
You should also ensure the the lesson library is automatically loaded when SM starts,
Tools > Options > Global > Modelica Libraries > Add a library Then navigate to the directory that contains ModelingPrinciples.mo
John
Thank you. Re-starting the kernel did the trick. Weird, that one. But the suggestions box is still generating the wrong syntax to remove the box. Is System Modeler is violating a Mathematica syntax rule? Or is the suggestion box violating a syntax rule? Have to come back the that…
(Question)
In Step 6 - Calibrate Parameters of Analyzing Models with Wolfram Language (the 2nd lecture),
- Plot the experimental data:
→ what are the measured data (= calibrated parameters)?
data = {{0, 80}, {900, 45}, {1800, 25}}
→ the name of the parameters? e.g., thermometer temperature? ambient temperature?
i.e., 0 is the value of ? → Likewise, 900 and 1800 are the values of ? (which parameter)
80 is the value of ? → Likewise, 45 and 25 are the values of ? (which parameter)
→ as always, Vedat Senol asked that for us during the lecture. However, I still have the same question.
*** Vedat Senol always asked questions that I had, which I appreciate. I can’t ask the questions during the lecture because I should focus on the lecture. While typing my question, I will get lost. BigMarker does not allow us to ask our questions verbally.
Thus, Vedat Senol’s questions are very important for me to study well.
Could Vedat Senol come back to the Daily Study Group?
Vedat Senol, could you please make time for us?
Hi Soomi,
We will cover SystemModelCalibrate in tomorrow’s session.
@Vedat Senol was sick last week. If he feels better then he should join from tomorrow.
Perhaps @Sergio Vargas can respond to this tomorrow.
Hi John,
In Simulation Center, go to File → Save Experiment Settings → Ok
Hi Carl,
I think you will enjoy reading Leonardo’s blogs. I will ask Leo to attend the session on Friday (19th). He might be able to show some analysis.
Leo is currently working on an Electric Circuits course using System Modeler which should be LIVE in 2-3 months. He probably covers some of the topics that you mentioned.
K. Sorry about my own syntax violations there… I was cut and pasting my thoughts and I guess I cut when I should have pasted or something like that.
Thanks! And I will definitely be looking at that circuits course.