PSIM

This block performs co-simulation with Altair PSIM.

    PSIM

Library

CoSimulation

Parameters

PSIM_0

NameLabelDescriptionData TypeValid Values

psimsch

Select schematic file

PSIM schematic file name

String

PsimStepsize

PSIM fixed stepsize

The PSIM final time is overriden by the Activate final time.

Scalar

PsimFinalTime

Final time in PSIM model

Scalar

showSIMVIEW

Show SIMVIEW

Displays SimView after the simulation is finished.

Number

0
1

nin

Number of input ports

The number of input ports on this block must correspond to the number of inputs in the PSIM model. This field populates when you click the Reload button.

Number

inports

Inputs

Structure

inports/label

Label

Cell of strings

nout

Number of output ports

The number of output ports on this block must correspond to the number of outputs in the PSIM model. This field populates when you click the Reload button.

Number

outports

Outputs

Structure

outports/label

Label

Cell of strings

externalActivation

External activation

Specifies if the block receives an external activation or inherits its activation through its regular input ports. If selected, an additional activation port is added to the block. By default, external activation is not selected. If External activation is selected, the communication with the PSIM simulation engine occurs only at event instants such as a fixed-rate event defined by an external clock.

Number

0
1

PSIM_1

NameLabelDescriptionData TypeValid Values

log_file_name

Log file name (*.log)

Messages from Activate as well as messages communicated from PSIM to Activate are logged into this file.

String

PSIM_2

NameLabelDescriptionData TypeValid Values

nparam

Number of additional parameters that are to be sent to PSIM.

Number

params

Parameters that are to be sent to PSIM.

Structure

params/parname

Parameter name

Cell of strings

params/parvalue

Parameter value

Cell of strings

Ports

NameTypeDescriptionIO TypeNumber

Port 1

explicit

output

nout

Port 2

explicit

input

nin

Port 3

activation

input

externalActivation