Skip to content

Commit 9b0f9c3

Browse files
committed
feat: Add ACVoltageSource for small-signal analysis
Jira-Ticket: FXC-1655
1 parent 7198c7a commit 9b0f9c3

File tree

16 files changed

+876
-12
lines changed

16 files changed

+876
-12
lines changed

docs/api/spice.rst

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,16 +10,21 @@ Sources
1010
:toctree: _autosummary/
1111
:template: module.rst
1212

13+
tidy3d.SSACVoltageSource
1314
tidy3d.DCVoltageSource
15+
tidy3d.GroundVoltage
1416
tidy3d.DCCurrentSource
1517

16-
1718
Analysis
1819
----------------
1920

2021
.. autosummary::
2122
:toctree: _autosummary/
2223
:template: module.rst
2324

25+
tidy3d.SteadyChargeDCAnalysis
2426
tidy3d.IsothermalSteadyChargeDCAnalysis
27+
tidy3d.AbstractSSACAnalysis
28+
tidy3d.SSACAnalysis
29+
tidy3d.IsothermalSSACAnalysis
2530
tidy3d.ChargeToleranceSpec

docs/lectures/index.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,4 +14,4 @@ Welcome to our lecture series!
1414

1515
.. include:: /lectures/fdtd101.rst
1616
.. include:: /lectures/fdtd_workshop.rst
17-
.. include:: /lectures/inversedesign.rst
17+
.. include:: /lectures/inversedesign.rst

schemas/HeatChargeSimulation.json

Lines changed: 162 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3042,6 +3042,7 @@
30423042
"type": "number"
30433043
},
30443044
"name": {
3045+
"minLength": 1,
30453046
"type": "string"
30463047
},
30473048
"type": {
@@ -3065,6 +3066,7 @@
30653066
"type": "object"
30663067
},
30673068
"name": {
3069+
"minLength": 1,
30683070
"type": "string"
30693071
},
30703072
"type": {
@@ -4105,6 +4107,23 @@
41054107
],
41064108
"type": "object"
41074109
},
4110+
"GroundVoltage": {
4111+
"additionalProperties": false,
4112+
"properties": {
4113+
"attrs": {
4114+
"default": {},
4115+
"type": "object"
4116+
},
4117+
"type": {
4118+
"default": "GroundVoltage",
4119+
"enum": [
4120+
"GroundVoltage"
4121+
],
4122+
"type": "string"
4123+
}
4124+
},
4125+
"type": "object"
4126+
},
41084127
"HammerstadSurfaceRoughness": {
41094128
"additionalProperties": false,
41104129
"properties": {
@@ -4489,6 +4508,58 @@
44894508
},
44904509
"type": "object"
44914510
},
4511+
"IsothermalSSACAnalysis": {
4512+
"additionalProperties": false,
4513+
"properties": {
4514+
"attrs": {
4515+
"default": {},
4516+
"type": "object"
4517+
},
4518+
"convergence_dv": {
4519+
"default": 1.0,
4520+
"exclusiveMinimum": 0,
4521+
"type": "number"
4522+
},
4523+
"fermi_dirac": {
4524+
"default": false,
4525+
"type": "boolean"
4526+
},
4527+
"freqs": {
4528+
"type": "ArrayLike"
4529+
},
4530+
"temperature": {
4531+
"default": 300,
4532+
"exclusiveMinimum": 0,
4533+
"type": "number"
4534+
},
4535+
"tolerance_settings": {
4536+
"allOf": [
4537+
{
4538+
"$ref": "#/definitions/ChargeToleranceSpec"
4539+
}
4540+
],
4541+
"default": {
4542+
"abs_tol": 10000000000.0,
4543+
"attrs": {},
4544+
"max_iters": 30,
4545+
"ramp_up_iters": 1,
4546+
"rel_tol": 1e-10,
4547+
"type": "ChargeToleranceSpec"
4548+
}
4549+
},
4550+
"type": {
4551+
"default": "IsothermalSSACAnalysis",
4552+
"enum": [
4553+
"IsothermalSSACAnalysis"
4554+
],
4555+
"type": "string"
4556+
}
4557+
},
4558+
"required": [
4559+
"freqs"
4560+
],
4561+
"type": "object"
4562+
},
44924563
"IsothermalSteadyChargeDCAnalysis": {
44934564
"additionalProperties": false,
44944565
"properties": {
@@ -6564,6 +6635,84 @@
65646635
],
65656636
"type": "object"
65666637
},
6638+
"SSACAnalysis": {
6639+
"additionalProperties": false,
6640+
"properties": {
6641+
"attrs": {
6642+
"default": {},
6643+
"type": "object"
6644+
},
6645+
"convergence_dv": {
6646+
"default": 1.0,
6647+
"exclusiveMinimum": 0,
6648+
"type": "number"
6649+
},
6650+
"fermi_dirac": {
6651+
"default": false,
6652+
"type": "boolean"
6653+
},
6654+
"freqs": {
6655+
"type": "ArrayLike"
6656+
},
6657+
"tolerance_settings": {
6658+
"allOf": [
6659+
{
6660+
"$ref": "#/definitions/ChargeToleranceSpec"
6661+
}
6662+
],
6663+
"default": {
6664+
"abs_tol": 10000000000.0,
6665+
"attrs": {},
6666+
"max_iters": 30,
6667+
"ramp_up_iters": 1,
6668+
"rel_tol": 1e-10,
6669+
"type": "ChargeToleranceSpec"
6670+
}
6671+
},
6672+
"type": {
6673+
"default": "SSACAnalysis",
6674+
"enum": [
6675+
"SSACAnalysis"
6676+
],
6677+
"type": "string"
6678+
}
6679+
},
6680+
"required": [
6681+
"freqs"
6682+
],
6683+
"type": "object"
6684+
},
6685+
"SSACVoltageSource": {
6686+
"additionalProperties": false,
6687+
"properties": {
6688+
"amplitude": {
6689+
"default": 1.0,
6690+
"type": "number"
6691+
},
6692+
"attrs": {
6693+
"default": {},
6694+
"type": "object"
6695+
},
6696+
"name": {
6697+
"minLength": 1,
6698+
"type": "string"
6699+
},
6700+
"type": {
6701+
"default": "SSACVoltageSource",
6702+
"enum": [
6703+
"SSACVoltageSource"
6704+
],
6705+
"type": "string"
6706+
},
6707+
"voltage": {
6708+
"type": "ArrayLike"
6709+
}
6710+
},
6711+
"required": [
6712+
"voltage"
6713+
],
6714+
"type": "object"
6715+
},
65676716
"Sellmeier": {
65686717
"additionalProperties": false,
65696718
"properties": {
@@ -9454,9 +9603,15 @@
94549603
"type": "object"
94559604
},
94569605
"source": {
9457-
"allOf": [
9606+
"anyOf": [
94589607
{
94599608
"$ref": "#/definitions/DCVoltageSource"
9609+
},
9610+
{
9611+
"$ref": "#/definitions/GroundVoltage"
9612+
},
9613+
{
9614+
"$ref": "#/definitions/SSACVoltageSource"
94609615
}
94619616
]
94629617
},
@@ -9477,9 +9632,15 @@
94779632
"properties": {
94789633
"analysis_spec": {
94799634
"anyOf": [
9635+
{
9636+
"$ref": "#/definitions/IsothermalSSACAnalysis"
9637+
},
94809638
{
94819639
"$ref": "#/definitions/IsothermalSteadyChargeDCAnalysis"
94829640
},
9641+
{
9642+
"$ref": "#/definitions/SSACAnalysis"
9643+
},
94839644
{
94849645
"$ref": "#/definitions/SteadyChargeDCAnalysis"
94859646
},

0 commit comments

Comments
 (0)