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.
Hi all,
In below equation Nf is unknown and remaining are known values. How to write the code using compose to find out the Nf?
Hi Arul,
you can try this script.
Unable to find an attachment - read this blog
Hi ,
Thanks for sharing. I am getting the following error.
Arul,
I've just tested it and found out that this error appears in v2017.3, but not in 2019. Please download the latest version.
Regards,
Roberta
'info' , used in this command :
[x,fval,info] = fzero(x_zeros, [xstart xend]);
was added in version 2019. To run the script in earlier version, remove it :
[x,fval] = fzero(x_zeros, [xstart xend]);
and of course remove the test starting with 'if info ==1'
Hi,
I couldn't able to get the value of 'Nf '
I have modified the script a little bit according to the help of 'fzero'
clc,clear function output = equation(Nf) dEps = 0.5; Eps = 0.8; Sigma = 90; E = 30; c = 0.8; b = 0.9; output = Sigma/E*(2*Nf)^b + Eps*(2*Nf)^c-dEps/2; end options = optimset('TolX', 1.0e-8); interval = [0, 6]; [x,fval] = fzero(@equation, interval, options)
It's running in 2017.3 without any problem.
The Script is running but not able to find the value of 'Nf'.
<?xml version="1.0" encoding="UTF-8"?>
Sorry, I assigned the result to variable x. If you replace x by Nf in line 16, you get Nf.
Hi RoKet,
Thanks for your help.
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…