modelPortTrafo_p_n

Two port for transformers

Extends from Port_p_n (Two port).

Information

Contains voltage and current scaling.

Below

  term, v, i, w

denote either the primary or secondary side

  term_p, v1, i1, w1
  term_n, v2, i2, w2

Definitions

  v:     scaled voltage across conductor
  i:     scaled current through conductor
  w:     voltage ratio to nominal (any value, but common for primary and secondary)

Relations

  v = (term.v[1] - term.v[2])/w
  term.i[1] = i/w;

Connectors

TypeNameDefaultDescription
Ports.TwoPin_pterm_p (from Port_p_n)positive terminal
Ports.TwoPin_nterm_n (from Port_p_n)negative terminal

Components

TypeNameDefaultDescription
PS.Voltagev1voltage 1
PS.Currenti1current 1
PS.Voltagev2voltage 2
PS.Currenti2current 2