Skip to content

Feature/tikhonov inverse vc#74

Open
alasdairross wants to merge 13 commits into
FusionComputingLab:streamliningfrom
alasdairross:feature/tikhonov_inverse_vc
Open

Feature/tikhonov inverse vc#74
alasdairross wants to merge 13 commits into
FusionComputingLab:streamliningfrom
alasdairross:feature/tikhonov_inverse_vc

Conversation

@alasdairross

@alasdairross alasdairross commented Jun 10, 2026

Copy link
Copy Markdown
Collaborator

This PR adds in the option to use Tikhonov regularisation in the matrix inversion for calculating virtual circuits. By default the Moore-Penrose is used as previously, and there is an optional argument to provide an array or diagonal matrix to define the Lambda regularisation terms (see https://en.wikipedia.org/wiki/Ridge_regression for example)

The main update is in the VirtualcCircuitHandlng in virtual_circuits.py where the new matrix inversion is done.
The following methods now have an optional tikhonov_lambda argument

  • VirtualCircuitsHandling.calculate_VC()
  • PlasmaControlSystem.calculate_control_voltages()
  • VirtualCircuitsController.run_control()

Note this update in this PR has been added after development of the FPDT #64

@alasdairross alasdairross force-pushed the feature/tikhonov_inverse_vc branch from 9f9c609 to c1bc887 Compare June 10, 2026 13:53
@alasdairross alasdairross added the enhancement New feature or request label Jun 11, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant