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.
Dear all,
is it possible to register a Compose function that makes use of Python functionalities?
Thank you in advance!
Christian
Hi Christian,
I created a function mymean which executes a python script which plots a sinewave. I was able to register the function and could find it among the registered functions in hypergraph.
<?xml version="1.0" encoding="UTF-8"?>
Thank you, Sijo!
This works for me as well, but is not necessarily an evidance that this is used correctly in HG when executing the functioni, right?
Best
Hello Christian,
I think you are right. I tried the following script which evaluates the values of a sine wave in compose python and retrieve back its values in a variable in oml side. This is not found to be working in Hypergraph side.
Step 1: I registered the following function in Compose which returns the values of a sine wave computed in Compose python.
Step 2:
I created a plot using the ANGACC file available in tutorials folder. When I tried to create a new curve based on the ANGACC plot and mymean function, I am getting the following error in Hypergraph. So I think we dont support registering functions which includes python bridge capabilities.
Thank you, Sijo! After an exchange with the development team, they confirmed that this on the plan for 2019(.1)
After an exchange with the development team, they confirmed that this on the plan for 2019(.1)
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…