Closed
Description
Before submitting the issue
- I have searched among the existing issues
- I am using a Python virtual environment
Description of the bug
edb.configuration.load fail to set rlc_model
Steps To Reproduce
components = [
{
"reference_designator": "C375",
"enabled": False,
"value": 100e-9,
},
{
"reference_designator": "L2",
"part_type": "resistor",
"rlc_model": [
{
"type": "series",
"capacitance": "100nf",
"inductance": "1nh",
"resistance": "0.001",
"p1": "1",
"p2": "2"
}
]
}
]
data = {"components": components}
edbapp = edb_examples.get_si_verse()
assert edbapp.configuration.load(data, apply_file=True)
assert edbapp.components["C375"].enabled == False
assert edbapp.components["C375"].value == 100e-9
assert edbapp.components["L2"].type == "Resistor"
edbapp.close()
Which Operating System are you using?
Windows
Which Python version are you using?
3.7
Installed packages
all