photo

Christoph Hahn

MathWorks

Active since 2014

Followers: 0   Following: 0

Message

Technical Education Specialist - working with researchers, teachers, students.

Running the MATLAB and Simulink Racing Lounge
Blog: https://blogs.mathworks.com/racing-lounge/
Video Podcast: www.mathworks.com/racinglounge

Background: Mechanical Engineer, Ph.D
Interests: Physical Modeling, Image Processing

Statistics

All
  • Knowledgeable Level 3
  • First Review
  • Revival Level 2
  • Knowledgeable Level 2
  • First Answer
  • Solver

View badges

Feeds

View by

Answered
How to use the generic engine in simscape??
Hi Nitin, I suggest you start from the model "carControlSoln.slx" (also attached for convenience) model from the physical model...

4 years ago | 1

Answered
How to use the generic engine in simscape??
Please provide the mat-file that contains: tire_b, tire_c, tire_d, tire_e, tire_dia etc. Otherwise it'll be hard to reproduce ...

4 years ago | 0

| accepted

Answered
Truss3 in Larrys Toolbox not returning an answer (NaN)
Hi Brad, I am using here Larry's example 'truss3x2.m' for illustration purpose. He uses 3 types of joints (one could also sa...

4 years ago | 1

Answered
referencing a hybrid model with a different fixed step size
Hi Luca, in order for others to be able to help, you will need to share an example model. If you don't want ot share crucial IP...

5 years ago | 0

Answered
How to set initial velocity to Simscape (with wheels with input torque)?
Hi Clemente, of course you can set an initial angular veloctiy. You seem to be using Revolute joints. By adding Properties -> M...

5 years ago | 0

| accepted

Answered
Why is the input signal to my suspension model settling at a non-zero value and drift away? Why does the drifting go away when I change a nonlinear damper to a linear one?
Hi Ryan, thanks for your query. I am neither able to see nor able to download your figures. Would you mind checking. Thanks! Bes...

6 years ago | 0

Answered
Simscape Multibody frame to spline distance
Hi Chridert, Sounds like an interesting one, is this questions still current for you? If yes, would be great if you could ...

6 years ago | 0

Answered
I tried to show the following parameter: torque, rotor speed, stator currents, frequency...etc but appears 2 errors...
Hi Vlad, can you please share the model as well (a minimal example is fine). It is impossible to help without being able to r...

6 years ago | 0

Answered
WHY IS THE SUBSYSTEM TAKING MAX POWER OUT AND DIVIDING IT WITH THE RPM OG MOTOR?
Hi Kartik, Some preliminary notes: * The question is referring to this File Exchange submission: <https://www.mathworks.co...

6 years ago | 2

| accepted

Answered
Can't find/understand constants in the MATLAB and Simulink Racing Lounge model
Hi Diego, I am not sure what exact model you are referring to. Could you please send the link or upload the model that you wo...

6 years ago | 0

Answered
How is tractive force calculated from the PID controller of the Glider Model?
Consider the tractive force to be an input to the vehicle model, so that the car reaches a desired speed. For example, this i...

6 years ago | 0

Answered
How is tractive force calculated from the PID controller of the Glider Model?
Hi Matt, the model is a closed-loop control system. The PID block gets the difference between desired speed (from drive cycle...

6 years ago | 0

Answered
Invalid outputTimes while using Simulink Design Optimization
Hi Stephan, could you please share everything that is needed to reproduce your problem as attachment to this article. Than...

7 years ago | 0

Answered
Getting a problem when adding a rigid transform block to a simmechanics model imported from solidworks
Can you please inlcude the datafile to your model. This is very important. Thanks! <</matlabcentral/answers/uploaded_files/72...

7 years ago | 0

Answered
Getting a problem when adding a rigid transform block to a simmechanics model imported from solidworks
Hi Jake, the model you attached just runs fine. Please provide us with the model that shows the error message. In general,...

7 years ago | 0

Answered
Getting a problem when adding a rigid transform block to a simmechanics model imported from solidworks
Hi Jake, could you do us a favor and upload the models before and after the error occurs. I have a suspicion but don't want t...

7 years ago | 0

Answered
How can i link the powersys domain with my BLDC motor model?
Hi Om Sharma, thanks for your question. Can you please attach your model (or a simplified version of it). This will allow u...

7 years ago | 0

Answered
How to create a more accurate gearbox following from the powertrain matlab tutorial
Hi Al-Amin Miah, I was able to reproduce what you are seeing. I had to use an ideal torque source instead of the generic engi...

7 years ago | 0

| accepted

Answered
How do I use a generic engine block successfully within my vehicle simscape model?
Hi Ryan, I had a look at the model you sent in the mail. Here a few comments: * The description of the vehicle body says: ...

7 years ago | 0

Answered
How do I use a generic engine block successfully within my vehicle simscape model?
Hi Ryan, I had a look at your model. Overall your model looks meaningful to me. Here a few comments: * If you are start...

7 years ago | 0

| accepted

Answered
How do I convert a race track image file into X,Y coordinates?
Hi Nikhil, please consider uploading an image to be able to provide better support. Assuming that you are working with bin...

7 years ago | 0

Answered
How do I use a generic engine block successfully within my vehicle simscape model?
Hi Ryan, can you please attach the model (or a simplified one). I would like to try and see whether I experience sth similar....

7 years ago | 0

Answered
Pacejka Tire Model (Magic Formula) for lateral dynamics?
Hi Surojit, I suggest you check out <http://www.mathworks.com/matlabcentral/fileexchange/45343-vehicle-model-with-delft-tyre-...

7 years ago | 1

| accepted

Answered
Arduino Interrupts
Dear Curtis, you can check out that entry on the FileExchange <http://www.mathworks.com/matlabcentral/fileexchange/30277-embe...

7 years ago | 0

Answered
How do we use interrupts on Arduino Due with Simulink?
Dear Kevin, you can check out that entry on the FileExchange <http://www.mathworks.com/matlabcentral/fileexchange/30277-embed...

7 years ago | 0

Answered
How to determine proper proportional gain and derivative gain for my vehicle model?
Hello Shuo, I am agreeing to Swarooph's comment. Simscape allows to model using actual physical quantities with the respectiv...

8 years ago | 0

| accepted

Answered
How do I modified this car model to restrict the 3 axes movement of the hubs?
Dear Shuo, when importing from CAD system (here: SolidWorks using Simscape Multibody Links add-in) internal mechanics aren't ta...

8 years ago | 0

| accepted

Answered
How to create a linux shared object from matlab code (Matlab 2015b)
Dear Stephan, regarding your first question, I have a twofold answer: # Use a cross-compiling workflow such that one <http...

8 years ago | 1

| accepted

Answered
How to model a e-auto
Hello Jianghui Xu, my name is Christoph and I have been in the team that has developed this course. Great to hear that it is ...

8 years ago | 1

Load more