[S0035] Create a response table with corrections and skew applied in an efficiency map study

 

In an efficiency map analysis study with reduced order model or speed priority, the response table (calculation table) will be created by performing a magnetic field analysis for each combination of specified rotational speed and current values etc. The response table is a summary of these analysis results such as efficiency and losses in table format.
The response table correction function applies correction coefficients and skew considerations to this calculation table to create a new response table.
This script applies correction parameters to the results of an induction motor efficiency map analysis study and creates a new corrected response table.

Preconditions

  • One or more study has been calculated.
    This script runs on the active magnetic field transient analysis study in the project tree.
  • The units of the setting values ​​follow the unit system set for the model.
  • Some correction options are available in JMAG-Designer v25.0 and later.

Script Function

  • Generate a response table.
  • Set correction parameters
    Coefficients/leakage inductance correction parameters
    Temperature correction parameters
    Skew parameters
# Copyright (c) 2026 JSOL CORPORATION
#
# This script is released under the MIT License.
# See the full license text at:
# https://www.jmag-international.com/scriptlibrary/jmag_script_library_mit/

def createResponseTableCorrectionAndSkew(study, resposeTableName):
    """Create a corrected response table by applying correction factors, correction values, and a skew to the results of efficiency map study."""
    tableCorrection = study.CreateTableCorrection(resposeTableName)

    # [Coefficients/Leakage Inductance]
    tableCorrection.SetRotorResistanceFactor(1.1)
    tableCorrection.SetStatorLeakageInductanceFactor(1.2)
    tableCorrection.SetRotorLeakageInductanceFactor(1.15)
    tableCorrection.SetMagnetizingInductanceFactor(0.9)
    tableCorrection.SetExcitingConductanceFactor(0.95)
    tableCorrection.SetAdditionalStatorLeakageInductance(0.1)
    tableCorrection.SetAdditionalRotorLeakageInductance(0.15)

    # [Temperature]
    # [Coil]
    tableCorrection.SetCoilStandardTemp(20)
    tableCorrection.SetCoilTemp(100)
    tableCorrection.SetCoilTempFactor(1.0)
    # [Rotor Conductor]
    tableCorrection.SetRotorConductorStandardTemp(20)
    tableCorrection.SetRotorConductorTemp(100)
    tableCorrection.SetRotorConductorTempFactor(1.5)

    # [Skew]
    tableCorrection.SetIMRotorSkew(True)
    tableCorrection.SetIMRotorSkewAngle(10)


app = designer.GetApplication()
study = app.GetCurrentStudy()
resposeTableName = u"corrected_table"

createResponseTableCorrectionAndSkew(study, resposeTableName)

Download Python source code

How to use script file

Use the JMAG Script Library after reading and agreeing to the following terms of use.

Search Filter

  • All Categories

An engineer's diary
JMAG-Express Online