{
  "default_value": 0,
  "definition_period": "year",
  "dtype": "float32",
  "entity": "menage",
  "file_path": "openfisca_france_indirect_taxation/variables/consommation/depenses_energies.py",
  "formulas": {
    "0001-01-01": {
      "ast": {
        "args": {
          "args": [
            {
              "arg": "menage",
              "ast_class": "arg",
              "col_offset": 12,
              "end_col_offset": 18,
              "end_lineno": 1,
              "lineno": 1
            },
            {
              "arg": "period",
              "ast_class": "arg",
              "col_offset": 20,
              "end_col_offset": 26,
              "end_lineno": 1,
              "lineno": 1
            }
          ],
          "ast_class": "arguments",
          "defaults": [],
          "kw_defaults": [],
          "kwonlyargs": [],
          "posonlyargs": []
        },
        "ast_class": "FunctionDef",
        "body": [
          {
            "ast_class": "Assign",
            "col_offset": 4,
            "end_col_offset": 85,
            "end_lineno": 2,
            "lineno": 2,
            "targets": [
              {
                "ast_class": "Name",
                "col_offset": 4,
                "ctx": {
                  "ast_class": "Store"
                },
                "end_col_offset": 34,
                "end_lineno": 2,
                "id": "depenses_combustibles_liquides",
                "lineno": 2
              }
            ],
            "value": {
              "args": [
                {
                  "ast_class": "Constant",
                  "col_offset": 44,
                  "end_col_offset": 76,
                  "end_lineno": 2,
                  "lineno": 2,
                  "value": "depenses_combustibles_liquides"
                },
                {
                  "ast_class": "Name",
                  "col_offset": 78,
                  "ctx": {
                    "ast_class": "Load"
                  },
                  "end_col_offset": 84,
                  "end_lineno": 2,
                  "id": "period",
                  "lineno": 2
                }
              ],
              "ast_class": "Call",
              "col_offset": 37,
              "end_col_offset": 85,
              "end_lineno": 2,
              "func": {
                "ast_class": "Name",
                "col_offset": 37,
                "ctx": {
                  "ast_class": "Load"
                },
                "end_col_offset": 43,
                "end_lineno": 2,
                "id": "menage",
                "lineno": 2
              },
              "keywords": [],
              "lineno": 2
            }
          },
          {
            "ast_class": "Assign",
            "col_offset": 4,
            "end_col_offset": 68,
            "end_lineno": 3,
            "lineno": 3,
            "targets": [
              {
                "ast_class": "Name",
                "col_offset": 4,
                "ctx": {
                  "ast_class": "Store"
                },
                "end_col_offset": 25,
                "end_lineno": 3,
                "id": "combustibles_liquides",
                "lineno": 3
              }
            ],
            "value": {
              "ast_class": "BinOp",
              "col_offset": 28,
              "end_col_offset": 68,
              "end_lineno": 3,
              "left": {
                "ast_class": "Constant",
                "col_offset": 28,
                "end_col_offset": 29,
                "end_lineno": 3,
                "lineno": 3,
                "value": 1
              },
              "lineno": 3,
              "op": {
                "ast_class": "Mult"
              },
              "right": {
                "ast_class": "Compare",
                "col_offset": 33,
                "comparators": [
                  {
                    "ast_class": "Constant",
                    "col_offset": 66,
                    "end_col_offset": 67,
                    "end_lineno": 3,
                    "lineno": 3,
                    "value": 0
                  }
                ],
                "end_col_offset": 67,
                "end_lineno": 3,
                "left": {
                  "ast_class": "Name",
                  "col_offset": 33,
                  "ctx": {
                    "ast_class": "Load"
                  },
                  "end_col_offset": 63,
                  "end_lineno": 3,
                  "id": "depenses_combustibles_liquides",
                  "lineno": 3
                },
                "lineno": 3,
                "ops": [
                  {
                    "ast_class": "Gt"
                  }
                ]
              }
            }
          },
          {
            "ast_class": "Return",
            "col_offset": 4,
            "end_col_offset": 32,
            "end_lineno": 5,
            "lineno": 5,
            "value": {
              "ast_class": "Name",
              "col_offset": 11,
              "ctx": {
                "ast_class": "Load"
              },
              "end_col_offset": 32,
              "end_lineno": 5,
              "id": "combustibles_liquides",
              "lineno": 5
            }
          }
        ],
        "col_offset": 0,
        "decorator_list": [],
        "end_col_offset": 32,
        "end_lineno": 5,
        "lineno": 1,
        "name": "formula"
      },
      "file_path": "openfisca_france_indirect_taxation/variables/consommation/depenses_energies.py",
      "source_code": "def formula(menage, period):\n    depenses_combustibles_liquides = menage('depenses_combustibles_liquides', period)\n    combustibles_liquides = 1 * (depenses_combustibles_liquides > 0)\n\n    return combustibles_liquides\n",
      "start_line_number": 657,
      "stop_line_number": 662,
      "variables": [
        "depenses_combustibles_liquides"
      ]
    }
  },
  "json_type": "number",
  "label": "=1 si le ménage consomme des combustibles liquides",
  "name": "combustibles_liquides",
  "start_line_number": 652,
  "stop_line_number": 662,
  "value_type": "float"
}
