We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Migration work of the transformer toolkit from ACT to PyAEDT needs the following elements that are missing from PyAEDT
Add to the MaxwellCircuitComponents class -Sinusoidal Current Source -Sinusoidal Voltage Source
-Create a new class to keep track of page number after exposure in create_component method of primitives_circuit.py to PyAEDT
Add to the CircuitComponents class -CreatePage -SelectPage
No response
The text was updated successfully, but these errors were encountered:
@DaveTwyman ,
There are two potential work arounds here.
Based on the ETK you can create an instance of MaxwellCircuit (although, I'd rather go through Maxwell3D)
app = MaxwellCircuit(design="circuit_" + design_name) schematic = app.modeler.schematic
Let us create variables for schematics location=[0,0] and page number: 4
page = 4 x = 0 y = 0
Case (1) you can create a Voltage source as follows
component_name = schematic.create_component( component_library="Sources", component_name="VSin", location=[x, y], angle=-90, page=("Page{}".format(page)) )
in case (2) you could just wrap case (1) so that assigning the voltage source looks like
def create_voltage_source(location, page): schematic.create_component( component_library="Sources", component_name="VSin", location=[x, y], angle=-90, page=("Page{}".format(page)) )
We could become even more creative and create a simple source that includes both voltage/current sources
def create_source(type=VSin, location, page): schematic.create_component( component_library="Sources", component_name=type, location=[x, y], angle=-90, page=("Page{}".format(page)) )
Note that this method in addition to PR #5712 , should be enough to handle this issue. Maybe we can reconsider PR #5283
Sorry, something went wrong.
DaveTwyman
Successfully merging a pull request may close this issue.
Description of the feature
Migration work of the transformer toolkit from ACT to PyAEDT needs the following elements that are missing from PyAEDT
Steps for implementing the feature
Add to the MaxwellCircuitComponents class
-Sinusoidal Current Source
-Sinusoidal Voltage Source
-Create a new class to keep track of page number after exposure in create_component method of primitives_circuit.py to PyAEDT
Add to the CircuitComponents class
-CreatePage
-SelectPage
No response
Useful links and references
No response
The text was updated successfully, but these errors were encountered: