| |
- bay5_report(fthresh, tlist, hlist, vlist, reportfile, verbose, reportpad)
- bay5_solar_incidence(onr, sun_angle)
- This routine will compute the sun incidence angle on the door of Bay 5.
Input is the (SPSS) roll offset from nominal and the sun angle in degrees.
- bay5_solarpower(intensity, bay5_inc)
- This routine will compute the Bay 5 solar heat power
given the intensity (ratio compared to intensity at aphelion)
and the bay 5 incidence angle in degrees.
The result is in kW.
- calc_energy(power_at_time_list, time_list)
- Calculate the heat energy in each time bin (end time in time_list)
from the power levels given in power_at_time_list (given as a tuple
of time and power level [kW])
- calc_power_levels1(initpower, power_list)
- Calculates power level from power list
Initial power level is initpower
- calc_power_levels2(initpower, power_list1, power_list2)
- Calculates power level from 2 power lists
Initial power level is initpower
- calc_solar_power1(bay5_list)
- calc_solar_power2(bay5_list)
- get_daynight(rmsfilelist)
- Given the list of rms files (full file specs) determines the
day times. Returns a list of tuples of the start and end of daylight
- get_nom_pos_data(ra, dec, tim)
- Invokes nom_pos for the given RA, dec and time.
Returns the v3pa (SPSS style) and the sun angle in degrees
- get_xmtr_power(rsvfile)
- From the RSV file determines the MAT and SSAT on times. Returns
a list of tuples of the time, total xmtr power, mat1 power, mat2 power,
ssat1 power, ssat2 power.
- interp_vals(tlist, ref_list)
- Interpolates values from ref_list to times in tlist. Interpolation
is linear.
- make_time_list(t1, t2, tstep)
- Creates a list of times from t1 to t2 with time step tstep
- pass_prod_file_name(pass_run, ext)
- Creates the full pass file name
- read_solar_intensity(datafile, t1, t2)
- Reads solar intensity data from reference file
Format in file is
time intensity
where intensity is ratioed to the intensity at aphelion
Results are a list of tuples of data within the t1 to t2 time range
Tuple contains the time and intensity ratio
- run(*args)
- Calculates the heat input to Bay 5 over the MS
do calc_bay5_heat <msrunname> [-verbose] [-outfile=<output>]
[-plotname=<plotname>]
[-heatdata=<heatfile>]
[-threshhold=<thresh>]
[-rsvfiles=<rsvfile>]
where msrunname is the MS run name
-verbose provides additional process details
<output> is the name of the report file for
the delivery notes
Default (to the screen)
<heatfile> defines the output file name (for the
calculated heat input to Bay 5)
Default <cclist>_heat.dat
<plotname> defines the plot file name
Default <cclist>_bay5_heat.ps
<thresh> threshhold for heat load reporting
Default is 4300 kJ
<rsvfile> specific RSV files for input (for
debugging)
- sum_bins(vals, nbins)
|