How to evaluate signal norms only for a portion of the time range calculated in a transient analysis in Ansys Maxwell when the frequency is defined as a parameter? For example, evaluate the mean core losses for the last electric period simulated.


March 17, 2023 at 1:12 pmSolutionParticipant
Since the â€śrange functionsâ€ť do not accept parameter values as limits, a different approach has to be used. The total number of periods of the simulation should be known. Assuming the following parameters N_periods â€¦ Total number of electric periods of the transient simulation ElectricPeriodâ€¦.. Electric period of the signal (i.e., 1/(electric frequency)) To calculate the average core loss during the last period, following expression can be used: integ((time>(N_periods1)*ElectricPeriod)*CoreLoss)/(ElectricPeriod) The comparison expression, (time>(N_periods1), returns 1 or 0 depending on if it is true or false and works as a â€śmaskâ€ť for the integral. This expression returns a transient signal which is constant. Its value is the average value required. To obtain a single scalar number the everage function can be applied to it. This leads to: avg( integ((time>(N_periods1)*ElectricPeriod)*CoreLoss)/(ElectricPeriod) ) This reasoning can be adapted to different situations, for example: â€“ Different quantities (e.g. mean torque, replacing CoreLoss above by Moving1.Torque) â€“ Calculation along a different window (e.g., multiple electric periods at the end of the simulation, by replacing â€śN_periods1â€ť by some other criterion) â€“ Calculation of different signal norms (e.g., average, rms, pkavg), since these norms are often mathematically expressed as one or multiple integrals (with varying integrands) divided by the â€świndowâ€ť of the integral. A calculaiton of the RMS value of the induced voltage of a winding with a name PhaseA would require the following expression: avg(sqrt(integ((time>=(N_Periods1)*ElectricPeriod)*(InducedVoltage(PhaseA))^2)/ElectricPeriod)) Attached to this solution there is a project example clarifying the approach to calculate the average core loss for the last electric period and the rms value of the induced voltage across a winding. These expressions can also be used when defining calculation quantities for an Optimetrics analysis. This is also demonstrated in the example attached. Please review the Optimetrics Tab.
Attachments:
1. 2065332.zip

Introducing Ansys Electronics Desktop on Ansys Cloud
The Watch & Learn video article provides an overview of cloud computing from Electronics Desktop and details the product licenses and subscriptions to ANSYS Cloud Service that are...
How to Create a Reflector for a Center HighMounted Stop Lamp (CHMSL)
This video article demonstrates how to create a reflector for a center highmounted stop lamp. Optical Part design in Ansys SPEOS enables the design and validation of multiple...
Introducing the GEKO Turbulence Model in Ansys Fluent
The GEKO (GEneralized KOmega) turbulence model offers a flexible, robust, generalpurpose approach to RANS turbulence modeling. Introducing 2 videos: Part 1Â provides background information on the model and a...
Postprocessing on Ansys EnSight
This video demonstrates exporting data from Fluent in EnSight Case Gold format, and it reviews the basic postprocessing capabilities of EnSight.
 Cloud Computing from Electronics Desktop
 Are solid losses and eddy losses the same in Maxwell?
 How do I calculate inductance and resistance of a coil in postprocessing phase?
 How I can export an equivalent circuit of a Q3D model?
 ANSYS Electronics Desktop: Motor Design Based on Electromagnetic and CFD Coupling
 How to perform a material sweep?
 Electric Motor Design Using Ansys MotorCAD – Part 1
 ANSYS Electronics Desktop: Simple Communications Channel For Signal Integrity Analyses – Part I
 ANSYS Electronics Desktop: Simple Communications Channel For Signal Integrity Analyses – Part V
 ANSYS Electronics Desktop: Simple Communications Channel For Signal Integrity Analyses – Part II
Â© 2023 Copyright ANSYS, Inc. All rights reserved.