Rapu Ture - Exploring the Rules

Compensation per week

Acc Float DAY Person Formula Included used 0 times

Value type Float . Default value 0 Entity person

How is this calculated?

To calculate this variable, the following input is used


This is the formula used to calculate the value of acc__sched_1__lope_weekly_compensation


This formula is used for scenarios from the date 0001-01-01 onwards. More info on formulas

def formula(persons, period, parameters):
    hourly_rate_week = parameters(period).minimum_wage.adult_rate * 40
    minimum_earnings = clip(persons('acc__sched_1__minimum_weekly_earnings', period), hourly_rate_week, None)
    abatement = minimum_earnings * parameters(period).acc.weekly_compensation_abatement
    weekly_earnings = persons('acc__sched_1__weekly_earnings', period)
    return clip((abatement - (abatement + weekly_earnings - minimum_earnings)), 0, None) * persons('acc__sched_1__lope_eligible', period)