CfgPackage#

class pyedb.configuration.cfg_package_definition.CfgPackage(/, **data: Any)#

Bases: pyedb.configuration.cfg_common.CfgBaseModel

Configuration package class.

Overview#

get_attributes

Return dict of non-null/non-protected attributes (CfgBase compatibility).

set_attributes

Set non-protected attributes onto pedb_object (CfgBase compatibility).

set_heatsink

Attach heat sink fin geometry to this package definition.

model_config

Configuration for the model, should be a dictionary conforming to [ConfigDict][pydantic.config.ConfigDict].

name

component_definition

apply_to_all

components

maximum_power

thermal_conductivity

theta_jb

theta_jc

height

extent_bounding_box

heatsink

Import detail#

from pyedb.configuration.cfg_package_definition import CfgPackage

Attribute detail#

CfgPackage.model_config#

Configuration for the model, should be a dictionary conforming to [ConfigDict][pydantic.config.ConfigDict].

CfgPackage.name: str | None = None#
CfgPackage.component_definition: str | None = None#
CfgPackage.apply_to_all: bool | None = None#
CfgPackage.components: List[str] = None#
CfgPackage.maximum_power: Any | None = None#
CfgPackage.thermal_conductivity: Any | None = None#
CfgPackage.theta_jb: Any | None = None#
CfgPackage.theta_jc: Any | None = None#
CfgPackage.height: Any | None = None#
CfgPackage.extent_bounding_box: Any | None = None#
CfgPackage.heatsink: CfgHeatSink | None = None#

Method detail#

CfgPackage.get_attributes(exclude=None)#

Return dict of non-null/non-protected attributes (CfgBase compatibility).

CfgPackage.set_attributes(pedb_object)#

Set non-protected attributes onto pedb_object (CfgBase compatibility).

CfgPackage.set_heatsink(fin_base_height=None, fin_height=None, fin_orientation=None, fin_spacing=None, fin_thickness=None)#

Attach heat sink fin geometry to this package definition.

Parameters:
fin_base_heightstr, optional

Base height of the fin array, e.g. "0.5mm".

fin_heightstr, optional

Fin height, e.g. "3mm".

fin_orientationstr, optional

Fin orientation: "x_oriented" or "y_oriented".

fin_spacingstr, optional

Center-to-center fin spacing, e.g. "1mm".

fin_thicknessstr, optional

Fin thickness, e.g. "0.2mm".

Returns:
CfgHeatSink

The newly created heat sink object.

Examples

pkg.set_heatsink(

fin_base_height=”0.5mm”, fin_height=”3mm”, fin_orientation=”x_oriented”, fin_spacing=”1mm”, fin_thickness=”0.2mm”

)