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.
I am trying to generate Embed code for a simple sub circuit, but i get this error. I'm only using logical blocks with 1 input and 1 output port. I googled the error but did not find any related article. I have never used this feature of PSIM so i dont know what to do.
Hi,
CodeGen feature should be included in the PSIM license for this. Do you have codegen feature in your license?
Thank you
Vishwanatha Siddhartha
Please follow below article to generate Embed code from PSIM.
Thank you,
Sir I have already read the tutorial before, the issue right now is that when I try to generate embed code from the sub-circuit attributes menu I get the above error #8000. Please check the images I attached above.
Could you let me know which circuit you are working on? If possible, please share a complete image of it.
Sure, its a simple boost PFC circuit.
This is the sub-circuit -
When i tap the generate embed code from the sub-circuit attribute dialog box, CMD opens up after few seconds it closes and throws the error "Error #8000 : Wrong Expression %s".
When I check the project folder i can see generated C code folder with this contents
This is the contents inside the prject_name ( C code ) folder
My student license don't have code gen, I am using one of my senior license for this project. Have you ever encountered #8000 error during embed code generation? Its strange even though it throws error i can see the generated dll. I can even import it into EMBED. Is this just a bug ? Also does the generated DLL get converted to fixed point automatically?
I tried the same way and was successfully able to generate code. Maybe it’s a license problem.
Thankyou
Join us for a community conversation on how High-Performance Computing (HPC) and Simcenter PSIM work together to meet the increasing demands of modern power electronics simulation. During this one-hour technical session, you'll discover how leveraging HPC can speed up simulations, improve scalability, and empower engineers…
Join us for a community conversation on accelerating your motor simulation workflow with Simcenter Simlab. In this beginner-friendly session, we'll introduce the platform's automated model-building capabilities and show how easy it is to set up your first electric motor analysis. You'll see the basic steps of geometry…
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…