Skip to content

Commit

Permalink
cleaning a bit
Browse files Browse the repository at this point in the history
  • Loading branch information
MartinBelthle committed Feb 11, 2025
1 parent e7075a5 commit 0fef0ca
Showing 1 changed file with 10 additions and 10 deletions.
20 changes: 10 additions & 10 deletions src/antares/craft/service/api_services/models/settings.py
Original file line number Diff line number Diff line change
Expand Up @@ -61,16 +61,16 @@

@all_optional_model
class AdequacyPatchParametersAPI(BaseModel, alias_generator=to_camel, populate_by_name=True):
enable_adequacy_patch: bool = False
ntc_from_physical_areas_out_to_physical_areas_in_adequacy_patch: bool = True
ntc_between_physical_areas_out_adequacy_patch: bool = True
price_taking_order: PriceTakingOrder = Field(default=PriceTakingOrder.DENS, validate_default=True)
include_hurdle_cost_csr: bool = False
check_csr_cost_function: bool = False
enable_first_step: bool = False
threshold_initiate_curtailment_sharing_rule: int = 0
threshold_display_local_matching_rule_violations: int = 0
threshold_csr_variable_bounds_relaxation: int = 3
enable_adequacy_patch: bool
ntc_from_physical_areas_out_to_physical_areas_in_adequacy_patch: bool
ntc_between_physical_areas_out_adequacy_patch: bool
price_taking_order: PriceTakingOrder
include_hurdle_cost_csr: bool
check_csr_cost_function: bool
enable_first_step: bool
threshold_initiate_curtailment_sharing_rule: int
threshold_display_local_matching_rule_violations: int
threshold_csr_variable_bounds_relaxation: int

@staticmethod
def from_user_model(user_class: AdequacyPatchParametersType) -> "AdequacyPatchParametersAPI":
Expand Down

0 comments on commit 0fef0ca

Please sign in to comment.