Skip to content

Support parameter transformations in SCE calibration - #43

Open
CyrilThebault wants to merge 2 commits into
CH-Earth:stagingfrom
CyrilThebault:feature/parameter-transformations
Open

Support parameter transformations in SCE calibration#43
CyrilThebault wants to merge 2 commits into
CH-Earth:stagingfrom
CyrilThebault:feature/parameter-transformations

Conversation

@CyrilThebault

Copy link
Copy Markdown
Collaborator

Summary

This PR adds support for parameter transformations during SCE calibration.

Parameters are transformed into optimiser search space before calibration, while FUSE continues to evaluate parameters in physical space.

Supported transformations are:

  • none
  • log10
  • natural logarithm

Implementation

  • adds reusable parameter transformation utilities
  • validates transformation codes and parameter bounds
  • transforms initial values and bounds before calling SCE
  • stores transformation codes in the SCE callback context
  • converts SCE parameters back to physical space before FUSE_evaluate

Testing

Tested with:

  • no transformation
  • log10 transformation
  • natural logarithm transformation
  • invalid transformation code

Verified that:

  • each transformation is applied to the intended parameter
  • SCE receives transformed values
  • FUSE_evaluate receives physical values after inverse transformation
  • invalid transformations are rejected

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant