# constants Fortran module: `constants` ## Constants (Read-Only) Fortran PARAMETER constants (compile-time values): | Constant | Type | Value | |----------|------|-------| | `amu` | `` | `1.66053892e-24` | | `au` | `` | `206300.0` | | `aunit` | `` | `14959780000000.0` | | `c` | `` | `29979245800.0` | | `chem_init_error` | `` | `-3` | | `conservation_error` | `` | `-16` | | `coolant_config_error` | `` | `-14` | | `coolant_data_error` | `` | `-10` | | `coolant_file_error` | `` | `-9` | | `coolant_freq_tol_error` | `` | `-11` | | `coolant_pop_tol_error` | `` | `-12` | | `coolant_solver_error` | `` | `-13` | | `dp` | `` | `8` | | `ev` | `` | `1.60217646e-12` | | `grav_g` | `` | `6.674e-08` | | `habing_to_draine` | `` | `0.5882352590560913` | | `hp` | `` | `6.62606896e-27` | | `hp_si` | `` | `6.62607015e-34` | | `int_too_many_fails_error` | `` | `-5` | | `int_unrecoverable_error` | `` | `-4` | | `k_boltz` | `` | `1.3806504e-16` | | `k_boltz_si` | `` | `1.38e-23` | | `kcal_to_joule` | `` | `4184.0` | | `km` | `` | `100000.0` | | `lsun` | `` | `3.828e+33` | | `mh` | `` | `1.67262164e-24` | | `n_avogadro` | `` | `6.022140857e+23` | | `negative_abundance_error` | `` | `-15` | | `not_enough_timepoints_error` | `` | `-6` | | `parameter_read_error` | `` | `-1` | | `pc` | `` | `3.086e+18` | | `physics_init_error` | `` | `-2` | | `physics_update_error` | `` | `-7` | | `pi` | `` | `3.1415927410125732` | | `reac_not_present` | `` | `99999` | | `reduced_planck` | `` | `1.054571628e-27` | | `sb_const` | `` | `5.6704e-05` | | `seconds_per_year` | `` | `31600000.0` | | `solver_stats_overflow_error` | `` | `-8` | | `t_cmb` | `` | `2.7300000190734863` | | `uisrf` | `` | `8.64e-13` | | `uisrf_uv` | `` | `5.2899999376625206e-14` | | `zero_inner_radius_error` | `` | `-17` | ## Runtime Access Access `constants` parameters at runtime using `uclchem.advanced.GeneralSettings()`. See [Accessing Fortran Parameters](index.html#accessing-fortran-parameters-at-runtime) on the main Fortran API page for examples.