Skip to content

276 MTLN generators#284

Open
Alberto-o wants to merge 33 commits intodevfrom
276_MTLN_generators
Open

276 MTLN generators#284
Alberto-o wants to merge 33 commits intodevfrom
276_MTLN_generators

Conversation

@Alberto-o
Copy link
Copy Markdown
Collaborator

Working on issue #276

@Alberto-o Alberto-o self-assigned this Mar 10, 2026
@Alberto-o Alberto-o marked this pull request as ready for review March 25, 2026 14:48
@Alberto-o Alberto-o requested review from Copilot and lmdiazangulo and removed request for Copilot March 28, 2026 21:38
],
"field": "current"
"field": "current",
"resistance" : 1.0e6
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think this should not appear if we define better the default behaviours. Also. 1 MOhm can be too little, depending on the case.

Copy link
Copy Markdown
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

In this case, it is a generator on an interior point. Accordiing to the current rules, the resistance value is mandatory. If it intended to work as a current source with an "infinite" parallel resistor, the value should be 1e22.

If instead we are going to allow generators with no resistance in interior points, I will make 0/1e22 for V/I generators the default value

Corrects default values for current generator on terminations
Adds call to errReport if interior voltage generator misses resistance
Skips parallel resistor in current generator in spice if it 1e22
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants