Tutorial Example Simugraph Setup For Ac Traction

Discussion in 'PC Editor Discussion' started by fceschmidt, Mar 20, 2024.

  1. fceschmidt

    fceschmidt Well-Known Member

    Joined:
    Oct 22, 2020
    Messages:
    312
    Likes Received:
    414
    Getting a locomotive running can be challenging. Fortunately I had helping hands who were able to make sense of it. Here is a quick overview of a simugraph setup for a basic AC powered locomotive. This is only for the traction part, brakes are not part of this example. Also this setup as shown here does not rely on overhead power, but you could fix that by using a Current Collector instead of Voltage Source (which in this example is set to 15000 Volt).

    Here you can see the connections between all nodes:

    Graph.png

    Detail values for all nodes are in the attached zip file. All value converters, inverters and AC motors have the exact same configuration. The VF pattern of the inverter is that of the DB BR 101.

    Some of the nodes have additional red pins. Those pins are not there by default when you drag the node into a new graph, you can add them by selecting the node, then opening the Parameters window from the menu bar of the simulation asset, and adding the check mark for additional values in the Input/Output column.

    Not obvious connections are: Inverter Frequency goes into AC Motor Current Frequency, and Inverter VRatio goes into AC Motor Voltage Coefficient.

    The value converter is just there to convert from Speed at rail in m/s to rotor frequency, it uses a linear curve which is shown in ValueConverterCurve.png in the zip file.

    To control the throttle you have to set the Power Input value of the inverters to a value between 0.0 and 1.0, this would normally be done in the RVM directly (by using a Make SimulationComponentParameterReference node and a Set Simulation Node Parameter as Float by Ref node).

    Cheers!
     

    Attached Files:

    • Like Like x 7
    • Helpful Helpful x 2
  2. eldomtom2

    eldomtom2 Well-Known Member

    Joined:
    Jul 31, 2022
    Messages:
    2,331
    Likes Received:
    2,500
    So, since you're someone who presumably knows a bit about how Simugraph works, do you know if it's possible to add new types of nodes or are you stuck with the ones included with the editor?
     
  3. fceschmidt

    fceschmidt Well-Known Member

    Joined:
    Oct 22, 2020
    Messages:
    312
    Likes Received:
    414
    To be honest I'm really just learning at this point, but I'm not aware of a way to create new node types. I guess that would have to go through DTG.
     
  4. F-Block

    F-Block Well-Known Member

    Joined:
    Aug 30, 2019
    Messages:
    105
    Likes Received:
    259
    Short and simple answer: no
     
    • Like Like x 1
  5. BRD

    BRD Well-Known Member

    Joined:
    Nov 9, 2018
    Messages:
    253
    Likes Received:
    533
    There are so many options with simugraph, I'm not sure what exactly is missing at this point. I know for a fact that you can add more node options on each of those "boxes" ( elements? can't remember the name ) because each of those elements have a lot of "sub options" that don't show by default, but they can be selected / activated once you open it. I just can't remember how or where it is done, I'm currently at work.

    upload_2024-3-21_12-3-59.png
     
  6. raph#6037

    raph#6037 Member

    Joined:
    Nov 23, 2022
    Messages:
    65
    Likes Received:
    80
    Stuff like a 4QC or a DC link capacitor would still be missing. Three level inverters are still missing too
     
    • Like Like x 2
  7. greggryan2

    greggryan2 Active Member

    Joined:
    Dec 21, 2018
    Messages:
    419
    Likes Received:
    179
    How do the brakes work?

    How would I connect up for my brakes to work right. If I put into axle both the motor thing and brake pad, editor crashes as its not happy with it.
     
  8. fceschmidt

    fceschmidt Well-Known Member

    Joined:
    Oct 22, 2020
    Messages:
    312
    Likes Received:
    414
  9. greggryan2

    greggryan2 Active Member

    Joined:
    Dec 21, 2018
    Messages:
    419
    Likes Received:
    179
    Is anyone able to confirm if for them simugraph have brake pad and some sort of traction going into axle do you get a crash of the editor.

    How them examples show is how I did mine and I kept getting crash of editor and so.ethjng about assertion failure simulation pins
     
  10. jpbxengine#2917

    jpbxengine#2917 New Member

    Joined:
    Dec 10, 2021
    Messages:
    15
    Likes Received:
    4
    What are all the things necessary for getting a loco running? I am trying to make my first loco, and the graph above was very helpful. Still, How do I get my engine with like a throttle and stuff in it? And, how do I get trucks and couplers?

    Thanks, Ron
     

Share This Page