Exporting a Circuit From an Imported Table
To create a circuit from an imported table, you need to have a table file containing tabular data. The first row in the file must contain the column names. The table export feature writes other useful information into subsequent rows, but the import succeeds whether or not this information is present. The rows of tabular data come next.
To export a circuit from an imported table:
- Click Maxwell 3D or Maxwell 2D > Export Equivalent Circuit > From Imported Table.
The Select File dialog box appears.
- Find and select the file containing the table you want to use.
- Click Open.
The General window appears, allowing you to specify basic information about the circuit model.
- Select one of the following from the Model Type drop-down menu:
- Linear Motion
- Rotational Motion
- Matrix
- Lookup Table
- Select either Ampere-Turns or Amperes as the Current Source Variables option.
- Click Next.
- To apply deep spline interpolation to all inputs in the circuit PWL model, select the Use Bezier Interpolation check box.
- To export the data to a table that you can edit and use to export an equivalent circuit at a later time, do the following:
- Click Export Table. The Save As dialog box appears.
- Select a location, and type a name in the File name box.
- Click Save.
- For model types Linear Motion, Rotational Motion, and Matrix, click Next.
- Enter a Scaling Factor in the text box. The scaling factor is applied to all output quantities and can be used, for example, to scale data from partial models that take advantage of symmetry.
- Optionally, specify the Model depth for 2D XY models for scaling.
- Optionally for 2D XY Rotational Motion model type, specify the Skew angle.
- Specify the Terminals:
- To specify a coil terminal:
- Select a Source for the Flux or Charge, depending on whether your design is mechanical or electrical.
- Enter a Resistance.
- Enter the number of Turns in the coil winding.
- Enter the number of Branches.
- To specify a mechanical terminal:
- Select the Force (or Torque) variable from the drop-down menu.
- Select the Position variable from the drop-down menu.
- Optionally for Rotational Motion model type, select Use rotational velocity.
- Click Finish to export the equivalent circuit.
The Table window appears, allowing you to set up the inputs and outputs for the circuit equivalent. Most of the values have been automatically filled in, based on your design. You can keep the defaults or change the selections and values for the various parameters.
The Table window reappears. The file that is created contains header rows with information such as name, i/o, and type, plus all of the actual data. You may export the table to view or use in external programs. You can also modify the exported table file and then re-import it to create an equivalent circuit. On import, the information in the header rows is used as default settings in the circuit export dialog box.
The Terminals window appears, allowing you to set up terminals, which are nodes with “through” and “across” data. Most of the values have been automatically filled in, based on your design. You can keep the defaults or change the selections and values for the various parameters.
When a stator core or rotor core is skewed for a 2D Rotational Motion model, the flux linkages and torque of the look-up table will be modified based on the skew angle θk.
For any output of the look-up table, f(θ), where θ is rotor position, the modified output will be