Skip to content

Feature: Add dipole magnet #136

Description

@JeanLucPons

Implement Dipole magnet.

Today we have only HCorrector and VCorrector.

A dipole is mandatory for ramped machine and/or dipole equipped with an additional correction coil.
Basically a dipole magnet has a model that depends only on $B\rho$.
So the main coil current should change only according to $B\rho$.
This require #90

A correction coil will have a model that will depend on the HCorrector strength and $B\rho$.
Such a Dipole can be configured as:

i.e.

- type: pyaml.magnet.dipole
  name: DIP # All dipoles are named DIP is the lattice
  model:
    type: pyaml.magnet.dipole_linear_model # this model depend only on Brho
    # calibration stuff
    ....
    powerconverter:
      - type: tango.pyaml.attribute
        attribute: srmag/ps-main/dip/current
        unit: A

- type: pyaml.magnet.hcorrector
  name: DIP-C01-H
  lattice_names: DIP@0  # Main current is serialized, we access the good dipole in the lattice
  model:
    type: pyaml.magnet.linear_model # this model depend only on Brho and H strength
    # calibration stuff
    ....
    powerconverter:
      - type: tango.pyaml.attribute
        attribute: srmag/ps-corr-dip/c01/current
        unit: A

- type: pyaml.magnet.hcorrector
  name: DIP-C02-H
  lattice_names: DIP@1  # Main current is serialized, we access the good dipole in the lattice
  model:
    type: pyaml.magnet.linear_model # this model depend on Brho and H strength
    # calibration stuff
    ....
    powerconverter:
      - type: tango.pyaml.attribute
        attribute: srmag/ps-corr-dip/c02/current
        unit: A

Activity

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

      Milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions