Creating An Agent Object For Modeling Component

Modeling Component

Mi'kail Eli'yah
2 min readOct 3, 2022

In many cases, we require a basic component object to observe basic features, e.g.:

├── Get / set the state
├── Send parameters*
* have the state machine to process them.Directory structure:
.
├── data_test
│ └── object_x_profile_details.json
├── supporting
│ └── object_x.py
└── usage_object_x.py

The attributes of the object, e.g.

├ capacity (e.g. range_max: 100, amount_remaining: 50, etc)
├ pressure_tire
""" e.g.
{
"backLeft": 219.3,
"backRight": 219.3,
"frontLeft": 219.3,
"frontRight": 219.3,
}
"""
├ life_span
"""
{
"life_remaining": 270 // years
}
"""

The state of the object, e.g.

├ engaged * status: [true / false], [passed / success / failed], [open / close], [on / off], [start / suspended / end / terminated], etc

…. we describe the use case through the usage file:

--

--