LumpedPortCoaxial
概要
電磁界解析モデルの指定した境界面に、同軸集中ポートの境界条件を設定します。
同軸集中ポートは、電磁界解析における励振と基準インピーダンスを定義します。ポートは、内導体と外導体の半径、原点座標、励振電圧、基準インピーダンス、および電力伝搬方向によって規定されます。
オブジェクトの作成
port = LumpedPortCoaxial()port = LumpedPortCoaxial(boundary)port = LumpedPortCoaxial(boundary, property_name = property_value)port = LumpedPortCoaxial()
port = LumpedPortCoaxial()
デフォルトのパラメータを使用し、境界面を指定せずに同軸集中ポートを作成します。
port = LumpedPortCoaxial(boundary)
port = LumpedPortCoaxial(boundary)
指定したメッシュの境界面に同軸集中ポートを設定したオブジェクトを、デフォルトのパラメータで作成します。
port = LumpedPortCoaxial(boundary, property_name = property_value)
port = LumpedPortCoaxial(boundary, property_name = property_value)
指定した境界面とプロパティの値を使用して、同軸集中ポートを作成します。
入力引数
boundary
int | list[int]
None
同軸集中ポートを適用するメッシュの境界ID。
inner_radius
float
m
1e-3
同軸ポートの内導体の半径。
outer_radius
float
m
2e-3
同軸ポートの外導体の半径。
origin
list[float]
m
0, 0, 0
同軸ポートの原点座標。
impedance
float | complex
Ω
50.0
同軸集中ポートの基準インピーダンス。
voltage
float
V
1.0
同軸集中ポートに印加する励振電圧。
power_flow_direction
list[float] | str
1, 0, 0
被測定デバイス(DUT)に向かう正の電力伝搬方向。 方向ベクトル、または “x”、“y”、“z”、“-x”、“-y”、“-z” のいずれかを指定します。
プロパティ
boundary- Type
int | list[int]Access read/write同軸集中ポートを適用するメッシュの境界ID。
inner_radius- Type
floatAccess read/writeUnit m同軸ポートの内導体の半径。 正の値を指定する必要があります。
outer_radius- Type
floatAccess read/writeUnit m同軸ポートの外導体の半径。 正の値を指定する必要があります。
origin- Type
list[float]Access read/writeUnit m同軸ポートの原点座標。
impedance- Type
float | complexAccess read/writeUnit Ω同軸集中ポートの基準インピーダンス。
voltage- Type
floatAccess read/writeUnit V同軸集中ポートに印加する励振電圧。
power_flow_direction- Type
list[float] | strAccess read/write被測定デバイス(DUT)に向かう正の電力伝搬方向。
使用例
同軸集中ポートの設定
from hado.boundary import LumpedPortCoaxial
port = LumpedPortCoaxial(
boundary=5,
inner_radius=0.5e-3,
outer_radius=1.5e-3,
origin=[0.0, 0.0, 0.0],
power_flow_direction="z"
)
注意事項
同軸集中ポートの定式化では、outer_radius が inner_radius
より大きいことを仮定しています。現在の実装では、両方の半径が正の値であることは検証されますが、outer_radius
が inner_radius より大きいことは検証されません。
power_flow_direction
には、方向ベクトルのほかに、"x"、"y"、"z"、"-x"、"-y"、"-z"
の文字列を指定できます。
エラー・例外
エラー・例外一覧
tanager:validatormessage: mustBe3DVector - Condition
originの要素数が3ではない場合。Resolutionoriginに3つの数値座標を含むリストを指定してください。 tanager:validatormessage: mustBeValidDirection - Condition
power_flow_directionにサポートされていない方向の文字列が指定された場合。Resolution“x”、“y”、“z”、“-x”、“-y”、“-z” のいずれか、または数値の方向ベクトルを指定してください。