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.
Submitted by Joe on Thu, 11/10/2011 - 23:21
How do I calculate the proper stack and heap size to use for a Vissim program on the 2806? Joe
Submitted by Anders89 on Thu, 11/10/2011 - 23:27.
Hi Joe, Stack use depends on the number of functions, interrupts, user declared and temp vars. Heap is only used when doing JTAG hotlink debugging and for some matrix manipulation. Heap allocation is done by VisSim at boot time. VisSim will issue a warning right away if there is insufficient heap allocated in the codegen dialog.
Start off with something big that works (stack=512, heap=128) in the codegen dialog, then run your .out file in a debug diagram with the targetInterface block.
Then, while it is running or after it is done, choose Embedded > F280x > Probe Target..., you will get a status report of the high water mark for both stack and heap. VisSim continuously monitors stack, heap, and CPU usage.
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…