A parametrised pulsed source for modelling ESS long pulses.
Author: P Willendrup and E Klinkby, February 2014, derived from K Lefmann ESS_moderator_long
J. Saroun (firstname.lastname@example.org)
Produces a time-of-flight spectrum, from the ESS parameters
Chooses evenly in lambda, evenly/exponentially decaying in time
Adapted from ESS_moderator_long by: K Lefmann, 2001
Updates and simplified interface:
The spectrum from the source(s) is defined via the sourcedef string input parameter which allows these values:
sourcedef="2001", legacy "Mezei moderators" from the original F. Mezei documents
"ESS reference moderator characteristics for generic instrument performance evaluation", but rescaled to ESS TDR frequency, pulselength and power.
sourcedef="TDR", Mezei moderators, with a wavelength-dependent correction term to the cold flux, derived from
2012 MCNPX calculations by ESS neutronics group. Corrections calculated by K Lieutenant (Vitess) and
implemented here by E Klinkby. NOTE: uses the 2001 brilliance for the thermal moderator!
sourcedef="2014", updated brilliance using formulation by Troels Schoenfeldt, including support for the "pancacke", i.e. flat geometry.
sourcedef="2015", updated brilliance using formulation by Troels Schoenfeldt, new butterfly baseline.
The component can use target_index for focusing to a given beam port. Use an Arm() and ROTATED to position
relatively to the moderator.
The component relies on the new ess_source-lib which is expected to become further enriched during design-finaliziation and construciton of the ESS.
Note that this component does not implement "engineering reality" and currently uses a coordinate system centered on the moderator assembly. An
updated moderator component which references the "Moderator focus coordinate system" will be released later during the spring of 2016.
Derived from ESS_moderator_long which was debugged intensively against Mezei note (4/12 2000) and VitESS @ Rencurel 2006.
Correction by J. Saroun, NPI Rez:
1) version 2015: accepts negative port angles
2) version 2015: weight by cosine of the port angle
Warning: The negative beamport angle is not taken into acccount by mcplot
Mezei-modererators validated against VitESS and Mezei note (4/12 2000) @ Rencurel 2006
Benchmarked against multiple versions of ESS moderator group simulation data 2013-2015
Parameters in boldface are required;
the others are optional.
Fraction of thermal neutrons generated at the "left" moderator slab in case of "2013" or "2014"
Lower edge of wavelength distribution
Upper edge of wavelength distribution
Fraction of neutron statistics from cold source. It is implicitely assumed that supermirror allows each beamline to choose the desired fraction of cold and thermal neutrons (i.e. extreme idealization).
[m] Distance from source to focusing rectangle; at
Width of focusing rectangle
Height of focusing rectangle
relative index of component to focus at, e.g. next is +1 this is used to compute 'dist' automatically.
Defined maximum emission time at moderator, tmax= tmax_multiplier * ESS_PULSE_DURATION. Only in combination with sourcedef="2013", "2014" or "2015"
Height of the cold source
Height of the thermal source
Number of pulses simulated. 0 and 1 creates one pulse. The integrated intensity is constant
Accelerator power in MW
Direction within the beamport sector (0 < angle < extraction_opening for 2014, -extraction_opening/2 < angle < extraction_opening/2 for 2015) to direct neutrons. For sourcedef="2015", the only allowed values are 5,15,...,55 degrees measured from the central point.