blob: 10c739d31c1bb1e9923518c3a2100fbbd6585bdb [file] [log] [blame]
[
{
"Desc": {
"Name": "BB_ADC_FAN_OUTPUT_CURR_A",
"SensorType": "current",
"MinValue": 0
},
"Threshold": {
"CriticalHigh": 28.6,
"HardShutdownHigh": 39.2
},
"Params": {
"ConstParam": [
{
"ParamName": "P1",
"Value": 0.157
},
{
"ParamName": "P2",
"Value": 0.33
},
{
"ParamName": "P3",
"Value": 2.5
},
{
"ParamName": "P4",
"Value": 0.96
},
{
"ParamName": "P5",
"Value": 0.15
}
],
"DbusParam": [
{
"ParamName": "P6",
"Desc": {
"Name": "BB_ADC_FAN_ISENSE_VOLT_V",
"SensorType": "voltage"
}
}
]
},
"Expression": "( P6 / P1 / P2 - P3 ) * P4 + P5"
},
{
"Desc": {
"Name": "BB_ADC_NIC_OUTPUT_CURR_A",
"SensorType": "current"
},
"Threshold": {
"CriticalHigh": 6.6,
"HardShutdownHigh": 8.15
},
"Params": {
"ConstParam": [
{
"ParamName": "P1",
"Value": 0.183
}
],
"DbusParam": [
{
"ParamName": "P2",
"Desc": {
"Name": "BB_ADC_NIC_ISENSE_VOLT_V",
"SensorType": "voltage"
}
}
]
},
"Expression": "P2 / P1"
},
{
"Desc": {
"Name": "BB_NIC_PWR_W",
"SensorType": "power"
},
"Threshold": {
"CriticalHigh": 82.5,
"HardShutdownHigh": 101.875
},
"Params": {
"ConstParam": [
{
"ParamName": "P1",
"Value": 0.183
}
],
"DbusParam": [
{
"ParamName": "P2",
"Desc": {
"Name": "BB_ADC_NIC_P12V_VOLT_V",
"SensorType": "voltage"
}
},
{
"ParamName": "P3",
"Desc": {
"Name": "BB_ADC_NIC_ISENSE_VOLT_V",
"SensorType": "voltage"
}
}
]
},
"Expression": "P2 * ( P3 / P1 )"
},
{
"Desc": {
"Name": "BB_MEDUSA_VDELTA_VOLT_V",
"SensorType": "voltage"
},
"Threshold": {
"CriticalHigh": 0.5
},
"Params": {
"DbusParam": [
{
"ParamName": "P1",
"Desc": {
"Name": "BB_MEDUSA_INPUT_VOLT_V",
"SensorType": "voltage"
}
},
{
"ParamName": "P2",
"Desc": {
"Name": "BB_MEDUSA_OUTPUT_VOLT_V",
"SensorType": "voltage"
}
}
]
},
"Expression": "P1 - P2"
},
{
"Desc": {
"Name": "BB_CPU_PDB_VDELTA_VOLT_V",
"SensorType": "voltage",
"MinValue": 0
},
"Threshold": {
"CriticalHigh": 0.8
},
"Params": {
"DbusParam": [
{
"ParamName": "P1",
"Desc": {
"Name": "BB_MEDUSA_OUTPUT_VOLT_V",
"SensorType": "voltage"
}
},
{
"ParamName": "P2",
"Desc": {
"Name": "BB_HSC_INPUT_VOLT_V",
"SensorType": "voltage"
}
}
]
},
"Expression": "P1 - P2"
},
{
"Desc": {
"Name": "BB_FAN_PWR_W",
"SensorType": "power",
"MinValue": 0
},
"Threshold": {
"CriticalHigh": 396.825,
"HardShutdownHigh": 544.88
},
"Params": {
"ConstParam": [
{
"ParamName": "P1",
"Value": 0.157
},
{
"ParamName": "P2",
"Value": 0.33
},
{
"ParamName": "P3",
"Value": 2.5
},
{
"ParamName": "P4",
"Value": 0.96
},
{
"ParamName": "P5",
"Value": 0.15
}
],
"DbusParam": [
{
"ParamName": "P6",
"Desc": {
"Name": "BB_ADC_FAN_ISENSE_VOLT_V",
"SensorType": "voltage"
}
},
{
"ParamName": "P7",
"Desc": {
"Name": "BB_MEDUSA_OUTPUT_VOLT_V",
"SensorType": "voltage"
}
}
]
},
"Expression": "(( P6 / P1 / P2 - P3 ) * P4 + P5 ) * P7"
},
{
"Desc": {
"Name": "BB_SYSTEM_AIRFLOW_CFM",
"SensorType": "airflow",
"MinValue": 0
},
"Params": {
"ConstParam": [
{
"ParamName": "rotor_single_or_duo",
"Value": 1
},
{
"ParamName": "max_support_rotor_per_fan",
"Value": 2
},
{
"ParamName": "gradient_single",
"Value": 0.0203
},
{
"ParamName": "gradient_duo",
"Value": 0
},
{
"ParamName": "displacement_single",
"Value": -9.9157
},
{
"ParamName": "displacement_duo",
"Value": 0
}
],
"DbusParam": [
{
"ParamName": "rpm1",
"Desc": {
"Name": "BB_FAN0_TACH_RPM",
"SensorType": "fan_tach"
}
},
{
"ParamName": "rpm2",
"Desc": {
"Name": "BB_FAN1_TACH_RPM",
"SensorType": "fan_tach"
}
},
{
"ParamName": "rpm3",
"Desc": {
"Name": "BB_FAN2_TACH_RPM",
"SensorType": "fan_tach"
}
},
{
"ParamName": "rpm4",
"Desc": {
"Name": "BB_FAN3_TACH_RPM",
"SensorType": "fan_tach"
}
}
]
},
"Expression": [
"(max_support_rotor_per_fan - 1) * (max_support_rotor_per_fan - 2) == 0 ? ",
"((rotor_single_or_duo % 2) * (gradient_single * avg(rpm1, rpm2, rpm3, rpm4) + displacement_single)) + ",
"(((rotor_single_or_duo - 1) % 2) * (gradient_duo * avg(rpm1, rpm2, rpm3, rpm4) + displacement_duo)) : 0"
]
}
]