AnnexFTables¶
This class allows for recreating some of the tables in Annex F [1].
-
class
casex.annex_f_tables.
AnnexFTables
[source]¶ This class contains methods for generating a variety of tables in Annex F [1].
- Parameters
none. –
-
none.
-
static
ballistic_descent_table
()[source]¶ Compute the ballistic descent table in Annex F [1].
Produces console output to show the ballistic descent table.
- Parameters
none. –
- Returns
console_output – The output to show.
- Return type
list of strings
-
static
iGRC_tables
(show_with_obstacles=True, show_ballistic=False, show_with_conservative_compensation=True, show_glide_angle=False, show_additional_pop_density=False)[source]¶ Compute the iGRC tables Annex F [1].
Produces console output to show the iGRC tables in a variety of forms. The default setup will produce the nominal iGRC table.
- Parameters
show_with_obstacles (bool, optional) – If true, show iGRC values when obstacles are present. Default True.
show_ballistic (bool, optional) – If true, show iGRC values for ballistic descent (typically rotorcraft). This superseeds show_glide_angle. Default False.
show_with_conservative_compensation (bool, optional) – If true, subtract 0.3 from all values. The concept is explained in Annex F. Default True.
show_glide_angle (bool, optional) – If true, show for 10 degree impact angle instead of 35 degree. Default False.
show_additional_pop_density (bool, optional) – If true, show additional population density rows. Default False.
- Returns
console_output – The output to show.
- Return type
list of strings
-
static
iGRC_tradeoff_tables
(tradeoff_type, show_integer_iGRC, show_relative)[source]¶ Compute the iGRC tradeoff tables Annex F [1].
Produces console output to show the iGRC tradeoff tables.
The tables can be shown with integer iGRC values (rounded up to nearest integer) and with one decimal. The latter makes it easier to determine how close the iGRC value is to the lower integer.
The tables can also be shown relative to the nominal table. Here positive values are iGRC values above the nominal and negative below nominal.
- Parameters
tradeoff_type (integer) – If 0, produces the nominal iGRC table. For n = 1 through 6 produces the corresponding Tn table, as described in Annex F. For any other value, an error text is produced.
show_integer_iGRC (bool) – If True, show the iGRC values rounded up to nearest integer. Otherwise, show with one decimal. This only applies to actual iGRC values. Relative values are always shown with one decimal.
show_relative (bool) – If True, the table shows the difference between nominal iGRC values and values for the tradeoff table. The numbers are always shown with one decimal.
- Returns
console_output – The output to show.
- Return type
list of strings
-
static
scenario_computation_table
(scenario)[source]¶ Compute table of intermediate values for the three descent scenarios in Annex F [1].
Produces console output.
- Parameters
scenario (integer) – Number of scenario, must be either 1, 2, or 3.
- Returns
console_output – The output to show.
- Return type
list of strings