Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
33 commits
Select commit Hold shift + click to select a range
3701108
Drafting changes. Adds test placeholders
Alberto-o Mar 5, 2026
be6e9b7
WIP
Alberto-o Mar 5, 2026
857d3d0
WIP
Alberto-o Mar 6, 2026
8571c9a
Minors
Alberto-o Mar 9, 2026
7f2f684
removes redundant function to count generators
Alberto-o Mar 9, 2026
3b3cbc6
Adds the number of the conductor the generator is attached to. Remove…
Alberto-o Mar 9, 2026
584c84e
Removes probes list from solver, already included in bundles
Alberto-o Mar 9, 2026
98e49f8
Merge remote-tracking branch 'origin/dev' into 276_MTLN_generators
Alberto-o Mar 9, 2026
597c4ed
[WIP] Correctly adds generators but now fails creating the bundle. Check
Alberto-o Mar 9, 2026
52648eb
Merge remote-tracking branch 'origin/dev' into 276_MTLN_generators
Alberto-o Mar 10, 2026
e05f796
Fixed probe count in multiwires
Alberto-o Mar 10, 2026
d917116
Removes checks of deprecated mtl has_mutiwires flag
Alberto-o Mar 10, 2026
a2cd390
Adds series/parallel resistance for voltage/current sources
Alberto-o Mar 10, 2026
ee0ee26
Fixes test moving generator from interior point. Minor to errorreport
Alberto-o Mar 10, 2026
07a12f3
[WIP] FSTS update equations with soft/hard source
Alberto-o Mar 11, 2026
0a10ea8
Merge remote-tracking branch 'origin/dev' into 276_MTLN_generators
Alberto-o Mar 11, 2026
bd2376a
minor. Check advance eqs
Alberto-o Mar 11, 2026
3e97534
Update
Alberto-o Mar 12, 2026
7363f97
Merge remote-tracking branch 'origin/dev' into 276_MTLN_generators
Alberto-o Mar 16, 2026
b819397
WIP
Alberto-o Mar 16, 2026
79b8f51
Update
Alberto-o Mar 19, 2026
8c30c72
Merge remote-tracking branch 'origin/dev' into 276_MTLN_generators
Alberto-o Mar 19, 2026
0234042
Implements generators according to corresponding issue. Adds tests. U…
Alberto-o Mar 19, 2026
60bd120
Adds generator creator for MPI, changing index in line if needed
Alberto-o Mar 20, 2026
cbe9d2e
Merge remote-tracking branch 'origin/dev' into 276_MTLN_generators
Alberto-o Mar 20, 2026
f574920
Merge remote-tracking branch 'origin/dev' into 276_MTLN_generators
Alberto-o Mar 25, 2026
07eb3d0
Fixes kinds
Alberto-o Mar 26, 2026
668f548
Minor fixes in tests
Alberto-o Mar 26, 2026
c3e52fb
Merge remote-tracking branch 'origin/dev' into 276_MTLN_generators
Alberto-o Mar 27, 2026
6f9d366
With new generator prescription, generator in inner nodes are forced …
Alberto-o Mar 28, 2026
2aa8fd0
weird compilation fail. Should have appeared before
Alberto-o Mar 28, 2026
b4cd683
Fixes two rkinds for windows
Alberto-o Mar 28, 2026
6cb0d30
Updates documentation
Alberto-o Mar 31, 2026
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
30 changes: 22 additions & 8 deletions doc/fdtdjson.md
Original file line number Diff line number Diff line change
Expand Up @@ -807,7 +807,7 @@ This object represents a time-varying vector field applied along an oriented lin

### `generator`

A `generator` source must be located on a single `node` whose `coordinateId` is used by a single `polyline`. The entry `[field]` can be `voltage` or `current`; defaults to `voltage`.
A `generator` source must be located on a single `node`. The entry `[field]` can be `voltage` or `current`; defaults to `voltage`. `resistance` refers to a series resistance for `voltage` generators and a resistance in parallel for `current` generators.

**Example:**

Expand All @@ -816,22 +816,36 @@ A `generator` source must be located on a single `node` whose `coordinateId` is
"name": "voltage_source",
"type": "generator",
"field": "current",
"magnitudeFile": "gauss.exc",
"magnitudeFile": "gauss.exc",
"resistance" : 50.0,
"elementIds": [1]
}
```

Using classic wires, generators can be located on any node of the lines. Using MTLN wires there are some restrictions:
Using classic (not MTLN) wires, generators can be located on any node of the lines. Using MTLN wires there are some restrictions:

| Generator \ cable type | `unshieldedMultiwire` | `shieldedMultiwire` |
| :--- | :--- | :--- |
| Voltage | Only terminal nodes | Terminal and interior nodes |
| Current | Terminal and interior nodes | Only terminal nodes |


For generators places at a terminal node a resistance is optional. In case no value is provided, the resistance default value will be 0.0. for `voltage` generators and 1.0e22 for `current` generators (i.e, they will behave like hard sources). However, for interior positions it is mandatory. If the generator is located at the termination of a wire, the series or parallel `resistance` is added to the connection defined in the corresponding `terminal`. If a generator is located on a wire intermediate position, the per-unit-length properties of the corresponding segment are modified according to the `resistance` of the generator.

| Syntax | `unshieldedMultiwire` | `shieldedMultiwire` |
| :--- | :--- | :--- |
| Voltage | Only wire extremes | Any point |
| Current | Any point | Only wire extremes |
#### Sources hardness

A **hard** source is defined as one that imposes its value at its position on the wire. On the other hand, a **soft** source adds its value to the current/voltage values.

As the resistance of the `voltage` generator approaches 0 (or the resistance of the `current` generator tends to arbitrarily large values), the generator becomes a **hard** source.

#### Current direction

In case a generator is on a wire extreme, the current direction will be from the generator in the direction of the other wire extreme. If the generator is on an interior wire point, the current direction will be oriented as the wire.

#### Generators on junctions

In case the generator is located at the junction `node` (connection point) of two of more lines, the lines whose ends are connected will share the same `coordinateId`. In this case, it is necessary to know to which of the lines the generator is attached to. The entry `[attachedToLineId]` is an integer which refers to the `elementId` of the `polyline` the generator is connected to.

In case the generator is located at the junction (connection point) of two of more lines, the `node` shared by the lines will share the same `coordinateId`. If more than two lines are connected together, it is necessary to know to which of the lines the generator is connected to. The entry `[attachedToLineId]` is an integer which refers to the `elementId` of the `polyline` the source is connected to.

**Example:**

Expand Down
Loading
Loading