Skip to content

Maxwell 3D TransientAPhi assign_current and assign voltage fail #5594

@gmalinve

Description

@gmalinve

Before submitting the issue

  • I have searched among the existing issues
  • I am using a Python virtual environment

Description of the bug

In TransientAPhi assign_current is missing some arguments:

oModule.AssignCurrent(
	[
		"NAME:Current1",
		"Objects:="		, ["Rectangle1"],
		"Current:="		, "2mA",
		"IsSolid:="		, True,
		"CurrentExcitationModel:=", "Double Potentials",
		"Point out of terminal:=", True
	])

assign_voltage has new arguments:

oModule.AssignVoltageAPhi(
	[
		"NAME:Voltage1",
		"Objects:="		, ["Coil_Section1_Separate1"],
		"VoltageAPhi:="		, "1V",
		"VoltageAPhiInitialCurrent:=", "0mA",
		"VoltageAPhiHasInitialCurrent:=", False,
		"VoltageAPhiExcitationModel:=", "Double Potentials",
		"VoltageAPhi_Point_out_of_terminal:=", True
	])

This only occurs in Maxwell 3d.

  • add tests

Steps To Reproduce

in description

Which Operating System are you using?

Windows

Which Python version are you using?

3.8

Installed packages

..

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions