# Copyright (C) 2021 - 2024 ANSYS, Inc. and/or its affiliates.
# SPDX-License-Identifier: MIT
#
#
# Permission is hereby granted, free of charge, to any person obtaining a copy
# of this software and associated documentation files (the "Software"), to deal
# in the Software without restriction, including without limitation the rights
# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
# copies of the Software, and to permit persons to whom the Software is
# furnished to do so, subject to the following conditions:
#
# The above copyright notice and this permission notice shall be included in all
# copies or substantial portions of the Software.
#
# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
# SOFTWARE.

"""Module providing the AirbagHybridJettingCmId class."""
import typing
from ansys.dyna.core.lib.card import Card, Field, Flag
from ansys.dyna.core.lib.field_schema import FieldSchema
from ansys.dyna.core.lib.keyword_base import KeywordBase
from ansys.dyna.core.lib.keyword_base import LinkType
from ansys.dyna.core.keywords.keyword_classes.auto.node.node import Node
from ansys.dyna.core.keywords.keyword_classes.auto.define.define_curve import DefineCurve

_AIRBAGHYBRIDJETTINGCMID_CARD0 = (
    FieldSchema("id", int, 0, 10, None),
    FieldSchema("title", str, 10, 70, None),
)

_AIRBAGHYBRIDJETTINGCMID_CARD1 = (
    FieldSchema("sid", int, 0, 10, None),
    FieldSchema("sidtyp", int, 10, 10, 0),
    FieldSchema("rbid", int, 20, 10, 0),
    FieldSchema("vsca", float, 30, 10, 1.0),
    FieldSchema("psca", float, 40, 10, 1.0),
    FieldSchema("vini", float, 50, 10, 0.0),
    FieldSchema("mwd", float, 60, 10, 0.0),
    FieldSchema("spsf", float, 70, 10, 0.0),
)

_AIRBAGHYBRIDJETTINGCMID_CARD2 = (
    FieldSchema("atmost", float, 0, 10, None),
    FieldSchema("atmosp", float, 10, 10, None),
    FieldSchema("atmosd", float, 20, 10, None),
    FieldSchema("gc", float, 30, 10, None),
    FieldSchema("cc", float, 40, 10, 1.0),
)

_AIRBAGHYBRIDJETTINGCMID_CARD3 = (
    FieldSchema("c23", float, 0, 10, None),
    FieldSchema("lcc23", int, 10, 10, 0),
    FieldSchema("a23", float, 20, 10, None),
    FieldSchema("lca23", int, 30, 10, 0),
    FieldSchema("cp23", float, 40, 10, None),
    FieldSchema("lcp23", int, 50, 10, 0),
    FieldSchema("ap23", float, 60, 10, None),
    FieldSchema("lcap23", int, 70, 10, 0),
)

_AIRBAGHYBRIDJETTINGCMID_CARD4 = (
    FieldSchema("opt", int, 0, 10, 1),
    FieldSchema("pvent", float, 10, 10, None),
    FieldSchema("ngas", int, 20, 10, None),
    FieldSchema("lcefr", int, 30, 10, 0),
    FieldSchema("lcidm0", int, 40, 10, 0),
    FieldSchema("vntopt", int, 50, 10, None),
)

_AIRBAGHYBRIDJETTINGCMID_CARD5 = (
    FieldSchema("lcidm", int, 0, 10, None),
    FieldSchema("lcidt", int, 10, 10, None),
    FieldSchema("unused", float, 20, 10, None),
    FieldSchema("mw", float, 30, 10, None),
    FieldSchema("initm", float, 40, 10, None),
    FieldSchema("a", float, 50, 10, None),
    FieldSchema("b", float, 60, 10, None),
    FieldSchema("c", float, 70, 10, None),
)

_AIRBAGHYBRIDJETTINGCMID_CARD6 = (
    FieldSchema("fmass", float, 0, 10, None),
)

_AIRBAGHYBRIDJETTINGCMID_CARD7 = (
    FieldSchema("xjfp", float, 0, 10, None),
    FieldSchema("yjfp", float, 10, 10, None),
    FieldSchema("zjfp", float, 20, 10, None),
    FieldSchema("xjvh", float, 30, 10, None),
    FieldSchema("yjvh", float, 40, 10, None),
    FieldSchema("zjvh", float, 50, 10, None),
    FieldSchema("ca", float, 60, 10, None),
    FieldSchema("beta", float, 70, 10, None),
)

_AIRBAGHYBRIDJETTINGCMID_CARD8 = (
    FieldSchema("xsjfp", float, 0, 10, None),
    FieldSchema("ysjfp", float, 10, 10, None),
    FieldSchema("zsjfp", float, 20, 10, None),
    FieldSchema("psid", int, 30, 10, None),
    FieldSchema("idum", float, 40, 10, None),
    FieldSchema("node1", int, 50, 10, 0),
    FieldSchema("node2", int, 60, 10, 0),
    FieldSchema("node3", int, 70, 10, 0),
)

_AIRBAGHYBRIDJETTINGCMID_CARD9 = (
    FieldSchema("nreact", int, 0, 10, 0),
)

class AirbagHybridJettingCmId(KeywordBase):
    """DYNA AIRBAG_HYBRID_JETTING_CM_ID keyword"""

    keyword = "AIRBAG"
    subkeyword = "HYBRID_JETTING_CM_ID"
    _link_fields = {
        "node1": LinkType.NODE,
        "node2": LinkType.NODE,
        "node3": LinkType.NODE,
        "nreact": LinkType.NODE,
        "lcc23": LinkType.DEFINE_CURVE,
        "lca23": LinkType.DEFINE_CURVE,
        "lcp23": LinkType.DEFINE_CURVE,
        "lcap23": LinkType.DEFINE_CURVE,
        "lcidm": LinkType.DEFINE_CURVE,
        "lcidt": LinkType.DEFINE_CURVE,
        "psid": LinkType.SET_PART,
    }

    def __init__(self, **kwargs):
        """Initialize the AirbagHybridJettingCmId class."""
        super().__init__(**kwargs)
        self._cards = [
            Card.from_field_schemas_with_defaults(
                _AIRBAGHYBRIDJETTINGCMID_CARD0,
                **kwargs,
            ),            Card.from_field_schemas_with_defaults(
                _AIRBAGHYBRIDJETTINGCMID_CARD1,
                **kwargs,
            ),            Card.from_field_schemas_with_defaults(
                _AIRBAGHYBRIDJETTINGCMID_CARD2,
                **kwargs,
            ),            Card.from_field_schemas_with_defaults(
                _AIRBAGHYBRIDJETTINGCMID_CARD3,
                **kwargs,
            ),            Card.from_field_schemas_with_defaults(
                _AIRBAGHYBRIDJETTINGCMID_CARD4,
                **kwargs,
            ),            Card.from_field_schemas_with_defaults(
                _AIRBAGHYBRIDJETTINGCMID_CARD5,
                **kwargs,
            ),            Card.from_field_schemas_with_defaults(
                _AIRBAGHYBRIDJETTINGCMID_CARD6,
                **kwargs,
            ),            Card.from_field_schemas_with_defaults(
                _AIRBAGHYBRIDJETTINGCMID_CARD7,
                **kwargs,
            ),            Card.from_field_schemas_with_defaults(
                _AIRBAGHYBRIDJETTINGCMID_CARD8,
                **kwargs,
            ),            Card.from_field_schemas_with_defaults(
                _AIRBAGHYBRIDJETTINGCMID_CARD9,
                **kwargs,
            ),        ]
    @property
    def id(self) -> typing.Optional[int]:
        """Get or set the Optional Airbag ID.
        """ # nopep8
        return self._cards[0].get_value("id")

    @id.setter
    def id(self, value: int) -> None:
        """Set the id property."""
        self._cards[0].set_value("id", value)

    @property
    def title(self) -> typing.Optional[str]:
        """Get or set the Airbag id descriptor. It is suggested that unique descriptions be used.
        """ # nopep8
        return self._cards[0].get_value("title")

    @title.setter
    def title(self, value: str) -> None:
        """Set the title property."""
        self._cards[0].set_value("title", value)

    @property
    def sid(self) -> typing.Optional[int]:
        """Get or set the Set ID.
        """ # nopep8
        return self._cards[1].get_value("sid")

    @sid.setter
    def sid(self, value: int) -> None:
        """Set the sid property."""
        self._cards[1].set_value("sid", value)

    @property
    def sidtyp(self) -> int:
        """Get or set the Set type:
        EQ.0: segment,
        EQ.1: part IDs.
        """ # nopep8
        return self._cards[1].get_value("sidtyp")

    @sidtyp.setter
    def sidtyp(self, value: int) -> None:
        """Set the sidtyp property."""
        if value not in [0, 1, None]:
            raise Exception("""sidtyp must be `None` or one of {0,1}.""")
        self._cards[1].set_value("sidtyp", value)

    @property
    def rbid(self) -> int:
        """Get or set the Rigid body part ID for user defined activation subroutine:
        EQ.-RBID: sensor subroutine flags initiates the inflator. Load curves are offset by initiation time,
        EQ.0: the control volume is active from time zero,
        EQ.RBID: user sensor subroutine flags the start of the inflation. Load curves are offset by initiation time.
        """ # nopep8
        return self._cards[1].get_value("rbid")

    @rbid.setter
    def rbid(self, value: int) -> None:
        """Set the rbid property."""
        self._cards[1].set_value("rbid", value)

    @property
    def vsca(self) -> float:
        """Get or set the Volume scale factor, V-sca (default=1.0).
        """ # nopep8
        return self._cards[1].get_value("vsca")

    @vsca.setter
    def vsca(self, value: float) -> None:
        """Set the vsca property."""
        self._cards[1].set_value("vsca", value)

    @property
    def psca(self) -> float:
        """Get or set the Pressure scale factor, P-sca (default=1.0).
        """ # nopep8
        return self._cards[1].get_value("psca")

    @psca.setter
    def psca(self, value: float) -> None:
        """Set the psca property."""
        self._cards[1].set_value("psca", value)

    @property
    def vini(self) -> float:
        """Get or set the Initial filled volume, V-ini (default=0.0).
        """ # nopep8
        return self._cards[1].get_value("vini")

    @vini.setter
    def vini(self, value: float) -> None:
        """Set the vini property."""
        self._cards[1].set_value("vini", value)

    @property
    def mwd(self) -> float:
        """Get or set the Mass weighted damping factor, D (default=0.0).
        """ # nopep8
        return self._cards[1].get_value("mwd")

    @mwd.setter
    def mwd(self, value: float) -> None:
        """Set the mwd property."""
        self._cards[1].set_value("mwd", value)

    @property
    def spsf(self) -> float:
        """Get or set the Stagnation pressure scale factor, 0.0 <= gamma <= 1.0.
        """ # nopep8
        return self._cards[1].get_value("spsf")

    @spsf.setter
    def spsf(self, value: float) -> None:
        """Set the spsf property."""
        self._cards[1].set_value("spsf", value)

    @property
    def atmost(self) -> typing.Optional[float]:
        """Get or set the Atmospheric temperature.
        """ # nopep8
        return self._cards[2].get_value("atmost")

    @atmost.setter
    def atmost(self, value: float) -> None:
        """Set the atmost property."""
        self._cards[2].set_value("atmost", value)

    @property
    def atmosp(self) -> typing.Optional[float]:
        """Get or set the Atmospheric pressure.
        """ # nopep8
        return self._cards[2].get_value("atmosp")

    @atmosp.setter
    def atmosp(self, value: float) -> None:
        """Set the atmosp property."""
        self._cards[2].set_value("atmosp", value)

    @property
    def atmosd(self) -> typing.Optional[float]:
        """Get or set the Atmospheric density.
        """ # nopep8
        return self._cards[2].get_value("atmosd")

    @atmosd.setter
    def atmosd(self, value: float) -> None:
        """Set the atmosd property."""
        self._cards[2].set_value("atmosd", value)

    @property
    def gc(self) -> typing.Optional[float]:
        """Get or set the Universal molar gas constant.
        """ # nopep8
        return self._cards[2].get_value("gc")

    @gc.setter
    def gc(self, value: float) -> None:
        """Set the gc property."""
        self._cards[2].set_value("gc", value)

    @property
    def cc(self) -> float:
        """Get or set the Conversion constant (default=1.0).
        """ # nopep8
        return self._cards[2].get_value("cc")

    @cc.setter
    def cc(self, value: float) -> None:
        """Set the cc property."""
        self._cards[2].set_value("cc", value)

    @property
    def c23(self) -> typing.Optional[float]:
        """Get or set the Vent orifice coefficient which applies to exit hole. Set to zero if LCC23 is defined below.
        """ # nopep8
        return self._cards[3].get_value("c23")

    @c23.setter
    def c23(self, value: float) -> None:
        """Set the c23 property."""
        self._cards[3].set_value("c23", value)

    @property
    def lcc23(self) -> int:
        """Get or set the Load curve number defining the vent orifice coefficient which applies to exit hole as a function of time. A nonzero value for C23 overrides LCC23.
        """ # nopep8
        return self._cards[3].get_value("lcc23")

    @lcc23.setter
    def lcc23(self, value: int) -> None:
        """Set the lcc23 property."""
        self._cards[3].set_value("lcc23", value)

    @property
    def a23(self) -> typing.Optional[float]:
        """Get or set the Vent orifice area which applies to exit hole. Set to zero if LCA23 is defined below.
        """ # nopep8
        return self._cards[3].get_value("a23")

    @a23.setter
    def a23(self, value: float) -> None:
        """Set the a23 property."""
        self._cards[3].set_value("a23", value)

    @property
    def lca23(self) -> int:
        """Get or set the Load curve number defining the vent orifice area which applies to exit hole as a function of absolute pressure. A nonzero value for A23 overrides LCA23.
        """ # nopep8
        return self._cards[3].get_value("lca23")

    @lca23.setter
    def lca23(self, value: int) -> None:
        """Set the lca23 property."""
        self._cards[3].set_value("lca23", value)

    @property
    def cp23(self) -> typing.Optional[float]:
        """Get or set the Orifice coefficient for leakage (fabric porosity). Set to zero if LCCP23 is defined below.
        """ # nopep8
        return self._cards[3].get_value("cp23")

    @cp23.setter
    def cp23(self, value: float) -> None:
        """Set the cp23 property."""
        self._cards[3].set_value("cp23", value)

    @property
    def lcp23(self) -> int:
        """Get or set the Load curve number defining the orifice coefficient for leakage (fabric porosity) as a function of time. A nonzero value for CP23 overrides LCCP23.
        """ # nopep8
        return self._cards[3].get_value("lcp23")

    @lcp23.setter
    def lcp23(self, value: int) -> None:
        """Set the lcp23 property."""
        self._cards[3].set_value("lcp23", value)

    @property
    def ap23(self) -> typing.Optional[float]:
        """Get or set the Area for leakage (fabric porosity).
        """ # nopep8
        return self._cards[3].get_value("ap23")

    @ap23.setter
    def ap23(self, value: float) -> None:
        """Set the ap23 property."""
        self._cards[3].set_value("ap23", value)

    @property
    def lcap23(self) -> int:
        """Get or set the Load curve number defining the area for leakage (fabric porosity) as a function of (absolute) pressure. A nonzero value for AP23 overrides LCAP23.
        """ # nopep8
        return self._cards[3].get_value("lcap23")

    @lcap23.setter
    def lcap23(self, value: int) -> None:
        """Set the lcap23 property."""
        self._cards[3].set_value("lcap23", value)

    @property
    def opt(self) -> int:
        """Get or set the Fabric venting option, if nonzero CP23, LCCP23, AP23, and LCAP23 are set to zero.
        EQ.1: Wang-Nefske formulas for venting through an orifice are used. Blockage is not considered (default).
        EQ.2: Wang-Nefske formulas for venting through an orifice are used. Blockage of venting area due to contact is considered.
        EQ.3: Leakage formulas of Graefe, Krummheuer, and Siejak [1990] are used. Blockage is not considered.
        EQ.4: Leakage formulas of Graefe, Krummheuer, and Siejak [1990] are used. Blockage of venting area due to contact is considered.
        EQ.5: Leakage formulas based on flow through a porous media are used. Blockage is not considered.
        EQ.6: Leakage formulas based on flow through a porous media are used. Blockage of venting area due to contact is considered.
        EQ.7: Simple porosity model. Blockage is not considered.
        EQ.8: Simple porosity model. Blockage of venting area due to contact is considered.
        """ # nopep8
        return self._cards[4].get_value("opt")

    @opt.setter
    def opt(self, value: int) -> None:
        """Set the opt property."""
        if value not in [1, 2, 3, 4, 5, 6, 7, 8, None]:
            raise Exception("""opt must be `None` or one of {1,2,3,4,5,6,7,8}.""")
        self._cards[4].set_value("opt", value)

    @property
    def pvent(self) -> typing.Optional[float]:
        """Get or set the Gauge pressure when venting begins.
        """ # nopep8
        return self._cards[4].get_value("pvent")

    @pvent.setter
    def pvent(self, value: float) -> None:
        """Set the pvent property."""
        self._cards[4].set_value("pvent", value)

    @property
    def ngas(self) -> typing.Optional[int]:
        """Get or set the Number of gas inputs to be defined below (including initial air).
        """ # nopep8
        return self._cards[4].get_value("ngas")

    @ngas.setter
    def ngas(self, value: int) -> None:
        """Set the ngas property."""
        self._cards[4].set_value("ngas", value)

    @property
    def lcefr(self) -> int:
        """Get or set the Optional curve for exit flow rate (mass/time) versus (gauge) pressure
        """ # nopep8
        return self._cards[4].get_value("lcefr")

    @lcefr.setter
    def lcefr(self, value: int) -> None:
        """Set the lcefr property."""
        self._cards[4].set_value("lcefr", value)

    @property
    def lcidm0(self) -> int:
        """Get or set the Optional curve representing inflator’s total mass inflow rate. When
        defined, LCIDM in the following 2*NGAS cards defines the molar
        fraction of each gas component as a function of time and INITM
        defines the initial molar ratio of each gas component..
        """ # nopep8
        return self._cards[4].get_value("lcidm0")

    @lcidm0.setter
    def lcidm0(self, value: int) -> None:
        """Set the lcidm0 property."""
        self._cards[4].set_value("lcidm0", value)

    @property
    def vntopt(self) -> typing.Optional[int]:
        """Get or set the Additional options for venting area definition.
        For A23 ≥ 0
        EQ.1: Vent area is equal to A23.
        EQ.2: Vent area is A23 plus the eroded surface area of the airbag parts.
        EQ.10: Same as VNTOPT = 2
        For A23 < 0
        EQ.1: Vent area is the increase in surface area of part |A23|. If there is no change in surface area of part |A23| over the
        initial surface area or if the surface area reduces from the initial area, there is no venting.
        EQ.2: Vent area is the total (not change in) surface area of part
        |A23| plus the eroded surface area of all other parts comprising the airbag.
        EQ.10: Vent area is the increase in surface area of part |A23| plus
        the eroded surface area of all other parts comprising the airbag.
        """ # nopep8
        return self._cards[4].get_value("vntopt")

    @vntopt.setter
    def vntopt(self, value: int) -> None:
        """Set the vntopt property."""
        self._cards[4].set_value("vntopt", value)

    @property
    def lcidm(self) -> typing.Optional[int]:
        """Get or set the Load curve ID for inflator mass flow rate (EQ.0 for gas in the bag at time 0).
        GT.0: piece wise linear interpolation
        LT.0: cubic spline interpolation
        """ # nopep8
        return self._cards[5].get_value("lcidm")

    @lcidm.setter
    def lcidm(self, value: int) -> None:
        """Set the lcidm property."""
        self._cards[5].set_value("lcidm", value)

    @property
    def lcidt(self) -> typing.Optional[int]:
        """Get or set the Load curve ID for inflator gas temperature (EQ.0 for gas in the bag at time 0).
        GT.0: piece wise linear interpolation
        LT.0: cubic spline interpolation
        """ # nopep8
        return self._cards[5].get_value("lcidt")

    @lcidt.setter
    def lcidt(self, value: int) -> None:
        """Set the lcidt property."""
        self._cards[5].set_value("lcidt", value)

    @property
    def mw(self) -> typing.Optional[float]:
        """Get or set the Molecular weight.
        """ # nopep8
        return self._cards[5].get_value("mw")

    @mw.setter
    def mw(self, value: float) -> None:
        """Set the mw property."""
        self._cards[5].set_value("mw", value)

    @property
    def initm(self) -> typing.Optional[float]:
        """Get or set the Initial mass fraction of gas component.
        """ # nopep8
        return self._cards[5].get_value("initm")

    @initm.setter
    def initm(self, value: float) -> None:
        """Set the initm property."""
        self._cards[5].set_value("initm", value)

    @property
    def a(self) -> typing.Optional[float]:
        """Get or set the Coefficient for molar heat capacity of inflator gas at constant pressure. (e.g., Joules/mole/oK)
        """ # nopep8
        return self._cards[5].get_value("a")

    @a.setter
    def a(self, value: float) -> None:
        """Set the a property."""
        self._cards[5].set_value("a", value)

    @property
    def b(self) -> typing.Optional[float]:
        """Get or set the Coefficient for molar heat capacity of inflator gas at constant pressure. (e.g., Joules/mole/oK2)
        """ # nopep8
        return self._cards[5].get_value("b")

    @b.setter
    def b(self, value: float) -> None:
        """Set the b property."""
        self._cards[5].set_value("b", value)

    @property
    def c(self) -> typing.Optional[float]:
        """Get or set the Coefficient for molar heat capacity of inflator gas at constant pressure. (e.g., Joules/mole/oK3)
        """ # nopep8
        return self._cards[5].get_value("c")

    @c.setter
    def c(self, value: float) -> None:
        """Set the c property."""
        self._cards[5].set_value("c", value)

    @property
    def fmass(self) -> typing.Optional[float]:
        """Get or set the Fraction of additional aspirated mass.
        """ # nopep8
        return self._cards[6].get_value("fmass")

    @fmass.setter
    def fmass(self, value: float) -> None:
        """Set the fmass property."""
        self._cards[6].set_value("fmass", value)

    @property
    def xjfp(self) -> typing.Optional[float]:
        """Get or set the x-coordinate of jet focal point.
        """ # nopep8
        return self._cards[7].get_value("xjfp")

    @xjfp.setter
    def xjfp(self, value: float) -> None:
        """Set the xjfp property."""
        self._cards[7].set_value("xjfp", value)

    @property
    def yjfp(self) -> typing.Optional[float]:
        """Get or set the y-coordinate of jet focal point.
        """ # nopep8
        return self._cards[7].get_value("yjfp")

    @yjfp.setter
    def yjfp(self, value: float) -> None:
        """Set the yjfp property."""
        self._cards[7].set_value("yjfp", value)

    @property
    def zjfp(self) -> typing.Optional[float]:
        """Get or set the z-coordinate of jet focal point.
        """ # nopep8
        return self._cards[7].get_value("zjfp")

    @zjfp.setter
    def zjfp(self, value: float) -> None:
        """Set the zjfp property."""
        self._cards[7].set_value("zjfp", value)

    @property
    def xjvh(self) -> typing.Optional[float]:
        """Get or set the x-coordinate of jet vector head to defined code centerline.
        """ # nopep8
        return self._cards[7].get_value("xjvh")

    @xjvh.setter
    def xjvh(self, value: float) -> None:
        """Set the xjvh property."""
        self._cards[7].set_value("xjvh", value)

    @property
    def yjvh(self) -> typing.Optional[float]:
        """Get or set the y-coordinate of jet vector head to defined code centerline.
        """ # nopep8
        return self._cards[7].get_value("yjvh")

    @yjvh.setter
    def yjvh(self, value: float) -> None:
        """Set the yjvh property."""
        self._cards[7].set_value("yjvh", value)

    @property
    def zjvh(self) -> typing.Optional[float]:
        """Get or set the z-coordinate of jet vector head to defined code centerline.
        """ # nopep8
        return self._cards[7].get_value("zjvh")

    @zjvh.setter
    def zjvh(self, value: float) -> None:
        """Set the zjvh property."""
        self._cards[7].set_value("zjvh", value)

    @property
    def ca(self) -> typing.Optional[float]:
        """Get or set the Cone angle, alpha, defined in radians./nLT.0.0: |alpha| is the load curve ID defining cone angle as a function of time.
        """ # nopep8
        return self._cards[7].get_value("ca")

    @ca.setter
    def ca(self, value: float) -> None:
        """Set the ca property."""
        self._cards[7].set_value("ca", value)

    @property
    def beta(self) -> typing.Optional[float]:
        """Get or set the Efficiency factor, beta, which scales the final value of pressure obtained from Bernoulli's equation.
        LT.0.0: |beta| is the load curve ID defining the efficiency factor as a function of time.
        """ # nopep8
        return self._cards[7].get_value("beta")

    @beta.setter
    def beta(self, value: float) -> None:
        """Set the beta property."""
        self._cards[7].set_value("beta", value)

    @property
    def xsjfp(self) -> typing.Optional[float]:
        """Get or set the x-coordinate of secondary jet focal point, passenger side bag. If the coordinates of the secondary point are (0,0,0) then a conical jet (driver's side airbag) is assumed.
        """ # nopep8
        return self._cards[8].get_value("xsjfp")

    @xsjfp.setter
    def xsjfp(self, value: float) -> None:
        """Set the xsjfp property."""
        self._cards[8].set_value("xsjfp", value)

    @property
    def ysjfp(self) -> typing.Optional[float]:
        """Get or set the y-coordinate of secondary jet focal point.
        """ # nopep8
        return self._cards[8].get_value("ysjfp")

    @ysjfp.setter
    def ysjfp(self, value: float) -> None:
        """Set the ysjfp property."""
        self._cards[8].set_value("ysjfp", value)

    @property
    def zsjfp(self) -> typing.Optional[float]:
        """Get or set the z-coordinate of secondary jet focal point.
        """ # nopep8
        return self._cards[8].get_value("zsjfp")

    @zsjfp.setter
    def zsjfp(self, value: float) -> None:
        """Set the zsjfp property."""
        self._cards[8].set_value("zsjfp", value)

    @property
    def psid(self) -> typing.Optional[int]:
        """Get or set the Optional part set ID, see *SET_PART.
        EQ.0: all elements are included in the airbag.
        """ # nopep8
        return self._cards[8].get_value("psid")

    @psid.setter
    def psid(self, value: int) -> None:
        """Set the psid property."""
        self._cards[8].set_value("psid", value)

    @property
    def idum(self) -> typing.Optional[float]:
        """Get or set the Dummy field (variable not used).
        """ # nopep8
        return self._cards[8].get_value("idum")

    @idum.setter
    def idum(self, value: float) -> None:
        """Set the idum property."""
        self._cards[8].set_value("idum", value)

    @property
    def node1(self) -> int:
        """Get or set the Node ID located at the jet focal point.
        """ # nopep8
        return self._cards[8].get_value("node1")

    @node1.setter
    def node1(self, value: int) -> None:
        """Set the node1 property."""
        self._cards[8].set_value("node1", value)

    @property
    def node2(self) -> int:
        """Get or set the Node ID for node along the axis of the jet.
        """ # nopep8
        return self._cards[8].get_value("node2")

    @node2.setter
    def node2(self, value: int) -> None:
        """Set the node2 property."""
        self._cards[8].set_value("node2", value)

    @property
    def node3(self) -> int:
        """Get or set the Optional node ID located at secondary jet focal point.
        """ # nopep8
        return self._cards[8].get_value("node3")

    @node3.setter
    def node3(self, value: int) -> None:
        """Set the node3 property."""
        self._cards[8].set_value("node3", value)

    @property
    def nreact(self) -> int:
        """Get or set the Node for reacting jet force.
        EQ.0: No jet force will be applied.
        """ # nopep8
        return self._cards[9].get_value("nreact")

    @nreact.setter
    def nreact(self, value: int) -> None:
        """Set the nreact property."""
        self._cards[9].set_value("nreact", value)

    @property
    def node1_link(self) -> typing.Optional[KeywordBase]:
        """Get the NODE keyword containing the given node1."""
        return self._get_link_by_attr("NODE", "nid", self.node1, "parts")

    @property
    def node2_link(self) -> typing.Optional[KeywordBase]:
        """Get the NODE keyword containing the given node2."""
        return self._get_link_by_attr("NODE", "nid", self.node2, "parts")

    @property
    def node3_link(self) -> typing.Optional[KeywordBase]:
        """Get the NODE keyword containing the given node3."""
        return self._get_link_by_attr("NODE", "nid", self.node3, "parts")

    @property
    def nreact_link(self) -> typing.Optional[KeywordBase]:
        """Get the NODE keyword containing the given nreact."""
        return self._get_link_by_attr("NODE", "nid", self.nreact, "parts")

    @property
    def lcc23_link(self) -> typing.Optional[DefineCurve]:
        """Get the DefineCurve object for lcc23."""
        if self.deck is None:
            return None
        for kwd in self.deck.get_kwds_by_full_type("DEFINE", "CURVE"):
            if kwd.lcid == self.lcc23:
                return kwd
        return None

    @lcc23_link.setter
    def lcc23_link(self, value: DefineCurve) -> None:
        """Set the DefineCurve object for lcc23."""
        self.lcc23 = value.lcid

    @property
    def lca23_link(self) -> typing.Optional[DefineCurve]:
        """Get the DefineCurve object for lca23."""
        if self.deck is None:
            return None
        for kwd in self.deck.get_kwds_by_full_type("DEFINE", "CURVE"):
            if kwd.lcid == self.lca23:
                return kwd
        return None

    @lca23_link.setter
    def lca23_link(self, value: DefineCurve) -> None:
        """Set the DefineCurve object for lca23."""
        self.lca23 = value.lcid

    @property
    def lcp23_link(self) -> typing.Optional[DefineCurve]:
        """Get the DefineCurve object for lcp23."""
        if self.deck is None:
            return None
        for kwd in self.deck.get_kwds_by_full_type("DEFINE", "CURVE"):
            if kwd.lcid == self.lcp23:
                return kwd
        return None

    @lcp23_link.setter
    def lcp23_link(self, value: DefineCurve) -> None:
        """Set the DefineCurve object for lcp23."""
        self.lcp23 = value.lcid

    @property
    def lcap23_link(self) -> typing.Optional[DefineCurve]:
        """Get the DefineCurve object for lcap23."""
        if self.deck is None:
            return None
        for kwd in self.deck.get_kwds_by_full_type("DEFINE", "CURVE"):
            if kwd.lcid == self.lcap23:
                return kwd
        return None

    @lcap23_link.setter
    def lcap23_link(self, value: DefineCurve) -> None:
        """Set the DefineCurve object for lcap23."""
        self.lcap23 = value.lcid

    @property
    def lcidm_link(self) -> typing.Optional[DefineCurve]:
        """Get the DefineCurve object for lcidm."""
        if self.deck is None:
            return None
        for kwd in self.deck.get_kwds_by_full_type("DEFINE", "CURVE"):
            if kwd.lcid == self.lcidm:
                return kwd
        return None

    @lcidm_link.setter
    def lcidm_link(self, value: DefineCurve) -> None:
        """Set the DefineCurve object for lcidm."""
        self.lcidm = value.lcid

    @property
    def lcidt_link(self) -> typing.Optional[DefineCurve]:
        """Get the DefineCurve object for lcidt."""
        if self.deck is None:
            return None
        for kwd in self.deck.get_kwds_by_full_type("DEFINE", "CURVE"):
            if kwd.lcid == self.lcidt:
                return kwd
        return None

    @lcidt_link.setter
    def lcidt_link(self, value: DefineCurve) -> None:
        """Set the DefineCurve object for lcidt."""
        self.lcidt = value.lcid

    @property
    def psid_link(self) -> typing.Optional[KeywordBase]:
        """Get the SET_PART_* keyword for psid."""
        return self._get_set_link("PART", self.psid)

    @psid_link.setter
    def psid_link(self, value: KeywordBase) -> None:
        """Set the SET_PART_* keyword for psid."""
        self.psid = value.sid

