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.
 How do I calculate inductance and resistance of a coil in postprocessing phase?
 Are solid losses and eddy losses the same in Maxwell?
 How to create and manage a queue of simulations?
 How to perform a material sweep?
 How I can export an equivalent circuit of a Q3D model?
 Electric Motor Design Using Ansys MotorCAD – Part 1
 How to import/export an Ansys Maxwell model in Workbench?
 How to simulate eddy current loss in Permanent Magnet?
 How to enable GPU acceleration in Electronics Desktop?
 Cloud Computing from Electronics Desktop
© 2024 Copyright ANSYS, Inc. All rights reserved.