ExtensionSwitch

Description

example

E = ExtensionSwitch(Parent) return a class array with the extension swithces.

This class is instantiated authomatically when loading policies, functions, or parameters and is stored in the Parent class under the property extensions.

Examples

collapse all

ExtensionSwitch loads all the extensions configured in a Country by default.

mod = euromod("C:\EUROMOD_RELEASES_I6.0+");
E=ExtensionSwitch(mod.countries("AT"));
E  
13×1 ExtensionSwitch array:

        1: SORESI   | SORESI web-based model
        2: LMA      | Labour market adjustments
        3: BTA      | Benefit Take-up Adjustments
        4: TCA      | Tax Compliance Adjustments
        5: FYA      | Full Year Adjustments
        6: UAA      | Uprating by Average Adjustment
        7: EPS      | Extended Policy Simulation
        8: PBE      | Parental leave benefits
        9: MWA      | Minimum Wage Adjustments
       10: HHoT_un  | HHoT unemployment extension
       11: WEB      | EUROMOD JRC-Interface
       12: HHoT_ext | HHoT - Extended Simulation
       13: HHoT_ncp | HHoT - Non Compulsory Payments
    

Display a specific extension in the Country.

E("MWA")  
1×1 ExtensionSwitch with properties:

          ID: "557c232a-9ce6-4808-b52f-ca5e02fe8cf4"
        name: "Minimum Wage Adjustments"
      parent: [1×1 Model]
   shortName: "MWA"
    

ExtensionSwitch loads all the extensions configured in the Model by default.

mod = euromod("C:\EUROMOD_RELEASES_I6.0+");
E=ExtensionSwitch(mod);
E  
11×1 ExtensionSwitch array:

        1: BTA      | Benefit Take-up Adjustments
        2: TCA      | Tax Compliance Adjustments
        3: FYA      | Full Year Adjustments
        4: UAA      | Uprating by Average Adjustment
        5: EPS      | Extended Policy Simulation
        6: PBE      | Parental leave benefits
        7: MWA      | Minimum Wage Adjustments
        8: HHoT_un  | HHoT unemployment extension
        9: WEB      | EUROMOD JRC-Interface
       10: HHoT_ext | HHoT - Extended Simulation
       11: HHoT_ncp | HHoT - Non Compulsory Payments
    

Input Arguments

collapse all

Can be the Model class returned by euromod or a specific Country class.

Data Types: class

Properties

collapse all

Returns the identifier number of the extension.

Example: E(end).ID

Returns the long name of the extension.

Example: E(end).name

Returns the Model base class of EUROMOD.

Example: E(end).parent

Returns the short name of the extension.

Example: E(end).shortName

Output Arguments

collapse all

A class array with the EUROMOD default extensions at the Model or Country level.

References

[1] Documentation EUROMOD - Tax-benefit microsimulation model for the European Union.

Extended Capabilities

Introduced in R2023a