Skip to content

Classic wires generators never use resistance #363

@Alberto-o

Description

@Alberto-o
  • In the implementation used in the classic wires, the generators never use a resistance value. The softness/hardness of the source is not determined by the absence of a resistance, but by a flag. The magnitude of the generator corresponds to the effective magnitude taking into account the generator resistance, if any.

  • The mtln implementation is in a way simpler. Voltage(current) generators, if a resistance is not provided, assume a series(parallel) resistance with value 0(1e22) Ohm. If the generator is a current generator, the Thevenin equivalent is computed, and in the mtln advance equations only voltage sources are considered. However, I think these are always soft sources.

I think I had a misunderstanding considering that the hardness was somehow determined by the absence of generator resistance. In any case, wires with generators should produce the same results whether classic or mtln wires are used

  • Include the effect of a generator resistance in classic wires
  • Include the effect of hard sources in mtln wires

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions