The Siemens Community Catalyst program was co-created with our community to acknowledge technology leaders who consistently contribute to the Siemens Community. Nominations are accepted on a rolling basis.
HelloI wrote the program in simulink and used the make decision block in it, now how can I rewrite that block in psim to be able to generate code?
Hi Reza,
i would recommend using the c block in psim and doing writing your logic in C. I have highlighted the main parts. When you define the number of inputs and outputs at the top you automatically get input and output variables created (xn,yn) respectively. You can rebuild the logic with "mux" elements if you are keen but it would be messy.
Join us for a Community Conversation where we'll discuss practical approaches to analyzing complex electromagnetic models using hybrid solver techniques. This session will provide a general overview of how different computational methods can be combined within a single simulation to address models containing varied…
Join us for a community conversation to explore how different modeling approaches in Simcenter PSIM can help engineers simulate power electronics systems while balancing accuracy, simulation speed, and design insight. What you'll learn: Power transistor modeling : Thermal and high fidelity models Protection component…