RUFAS.EEE.tractor_implement module#
- class RUFAS.EEE.tractor_implement.TractorImplement(operation_event: FieldOperationEvent, operation_type: OperationType, crop_type: str | None, tractor_size: TractorSize, tillage_implement: TillageImplement | None, application_depth: float | None, harvest_type: HarvestOperation | None = None)#
Bases:
object- __init__(operation_event: FieldOperationEvent, operation_type: OperationType, crop_type: str | None, tractor_size: TractorSize, tillage_implement: TillageImplement | None, application_depth: float | None, harvest_type: HarvestOperation | None = None) None#
Initializes the TractorImplement object with the specifications of the tractor implement.
Parameters#
- operation_eventFieldOperationEvent
The event type of the field operation.
- operation_typeOperationType
The type of operation to perform.
- crop_typestr | None, optional
The type of crop to perform the operation on.
- tractor_sizeTractorSize
The size of the tractor.
- tillage_implementTillageImplement | None, optional
The type of tillage implement used for the operation.
- application_depthfloat | None, optional
The depth of the application (cm).
- harvest_typeHarvestOperation | None, optional
The type of harvest operation for the operation.
- determine_implement_parameters(application_depth: float | None) None#
Assign a tractor implement based on the operation, tractor size, and crop type where applicable. Not all operations depend on the crop type.
Parameters#
- application_depthfloat | None
The depth (in cm) to be used for certain operations that require it, such as fertilizer application. If not applicable, this can be None.
Reference#
Helper Function 419 in EEE Functions file.
- field_capacity_ha_per_hr(crop_yield_ton_per_ha: float | None, application_mass: float | None = None) float#
Calculates the Field Capacity for a specific crop, field operation and tractor implement. Implements Helper Functions 418a and 418b in EEE Functions file.
- calculate_operation_time_hr(field_production_size_ha: float, crop_yield_ton_per_ha: float | None, application_mass: float | None = None) float#
Calculates the number of hours taken by a tractor given other factors like implement size to perform the operation. Implements Helper Function 416 in EEE Functions file.
- calculate_drawbar_power(clay_percent: float) float#
Calculates Drawbar Power (kW) which is the power required by the implement for propulsion forward if it requires a transfer of tractor power to its wheel drives for this purpose. Implements Helper Function 414 in EEE Functions file.
- calculate_functional_draft(clay_percent: float) float#
Calculate Functional draft in Newtons, the force required for pulling various planting implements and minor tillage tools operated at shallow depths. Implements Helper Functions 417 and 421 in EEE Functions file.
- calculate_needed_PTO(crop_yield_ton_per_ha: float, field_production_size_ha: float, application_mass: float | None = None) float#
Calculates PTO_Power (kW) from the tractor to power the implement’s operation. Implements Helper Function 415 in EEE Functions file.