Why simulate a supercycle

See FGC yellow pages: https://accwww.cern.ch/proj-fgc/gendoc/def/PropertyFGC.htm#FGC.CYC.SIM

Use this functionality if you wish to test a converter with your own cycles (equivalent to using "local timing" in the old electronics):

  • for diagnostic reasons during an intervention
  • for running a commissioning or other test with fixed cycles

Be aware of the dangers

Simulating a supercycle should never be made when there is beam in the machine because it bypasses the OP configurations and can be dangerous. Always obtain permission from OP outside of commissioning periods.

While you are simulating a supercycle, the TIMING_EVT appears as an FGC warning. The operation can see this.

Conditions for simulating a super cycle

For a user to be played as part of a simulated supercycle it must be correctly configured, it must be enabled and destination based economy must be disabled on this user. The following lines explain how to do this.

Configuring a user cycle

To configure a user cycle as PULSE (example):

# disable the user that you wish to configure
S REF.FUNC.PLAY(33) DISABLED

# set the flat-top duration for the pulse
S REF.PULSE.DURATION(33) 0.01
# set the flat-top amplitude
S REF.PULSE.AMPLITUDE.VALUE(33) 400
# configure user 33 to play the PULSE function
S REF.FUNC.TYPE(33) PULSE

# enable the user 33 for
S REF.FUNC.PLAY(33) ENABLED

Enable a user cycle

To enable a user cycle use the following command. The number in the brackets (33 in this case) corresponds to the user number that you are trying to enable.

S REF.FUNC.PLAY(33) ENABLED

Disable economy mode

CCC supercycles are received by all power converters in an accelerator domain. Not all converters should "play" all users and hence OP can enable a functionality called economy mode for some converters and for some destinations.

When you configure a "local" supercycle to perform tests you need to disable "economy" temporarily.

S REF.ECONOMY.MODE DISABLED

Tip! After finishing your tests remember to reset the power converter with S DEVICE.RESET so it obtains the original OP configuration.

Create the simulated supercycle

Create a supercycle using the following line. Users will play in the order given (separated by a comma) and the supercycle will repeat infinitely.

# separate users with comma
S FGC.CYC.SIM 3304,1206,1802

where 3304 corresponds to the user number and 3304 corresponds to the cycle duration (period): 04 means that the cycle will last 04 basic periods. The basic period is 1.2 sec

TIP! Use longer cycle durations (i.e. the second part of 3304 number) to lower the RMS current of a repeating cycle.

Important! Once your test is complete remember to reset the power converter so it obtains the original OP configuration.