Skip to content

RelationshipEnd

The relationship dissolution report (RelationshipEnd.csv) provides detailed information about each relationship and its members, evaluated at the time of relationship dissolution. The report includes the relationship type, start time, scheduled end time, actual end time (which may differ from the scheduled end time, for instance, due to the death of a partner), and information about each participant.

Configuration

To generate the report, set the Report_Relationship_End parameter to 1 in config.json file.

Output file data

The output report will contain the following information.

Data channel Data type Description
Rel_ID integer A unique identifier for the relationship, different from the IDs of the participants.
Node_ID integer The identification number for the node.
Rel_start_time float The time (in days) during the simulation when the relationship started.
Rel_scheduled_end_time float The time (in days) during the simulation when the relationship was scheduled to end. The duration of the relationship is dependent on the relationship type; configure by updating the Duration_Weibull_Heterogeneity and Duration_Weibull_Scale parameters in the demographics file. See Demographics parameters for details.
Rel_actual_end_time float The actual end time of the relationship, in days since the start of the simulation. This may differ from the scheduled end time due to the death of a partner, migration, etc.
Rel_type (0 = TRANSITORY; 1 = INFORMAL; 2 = MARITAL; 3 = COMMERCIAL) integer The type of relationship formed between the participants. Values for 0-3 as indicated in the header.
Is_rel_outside_PFA boolean Indicates whether or not the relationship was created by the normal process using the Pair Forming Algorithm (PFA), where "F" indicates the relationship was created using the PFA, and "T" indicates the relationship was created using the StartNewRelationship intervention.
male_ID integer A unique identifying number for the male partner in the relationship.
female_ID integer A unique identifying number for the female partner in the relationship.
male_age float The age, in years, of the male partner in the relationship.
female_age float The age, in years, of the female partner in the relationship.
num_total_coital_acts integer The total number of coital acts by the couple during this relationship.
Termination_Reason enum The reason the relationship was terminated. Possible values are:

NA
BROKEUP
SELF_MIGRATING
PARTNER_DIED
PARTNER_TERMINATED
PARTNER_MIGRATING

Example

The following is an example of a RelationshipEnd.csv report:

Rel_ID Node_ID Rel_start_time Rel_scheduled_end_time Rel_actual_end_time Rel_type (0 = TRANSITORY; 1 = INFORMAL; 2 = MARITAL; 3 = COMMERCIAL) Is_rel_outside_PFA male_ID female_ID male_age female_age num_total_coital_acts Termination_Reason
172161 10 3755.31 3757.6 3762.33 3 F 215107 47236 16.6732 46.0892 1 BROKEUP
172162 10 3755.31 3758.47 3762.33 3 F 215107 95405 16.6732 58.167 2 BROKEUP
172164 10 3755.31 3755.53 3762.33 3 F 208375 193954 28.9388 36.4973 1 BROKEUP
172165 10 3755.31 3756.35 3762.33 3 F 208375 95405 28.9388 58.167 2 BROKEUP
172166 10 3755.31 3756.44 3762.33 3 F 208375 717 28.9388 17.0808 1 BROKEUP
172169 10 3755.31 3758.32 3762.33 3 F 139812 717 42.8393 17.0808 3 BROKEUP
172171 10 3755.31 3756.94 3762.33 3 F 128988 717 16.526 17.0808 1 BROKEUP
172172 10 3755.31 3755.49 3762.33 3 F 128988 137623 16.526 39.5202 1 BROKEUP
172176 10 3755.31 3757.89 3762.33 3 F 111080 717 34.4271 17.0808 2 BROKEUP
172177 10 3755.31 3760.48 3762.33 3 F 111080 193954 34.4271 36.4973 1 BROKEUP
172180 10 3755.31 3762.1 3762.33 3 F 65716 47236 37.7356 46.0892 1 BROKEUP
172181 10 3755.31 3760.29 3762.33 3 F 65716 11486 37.7356 44.2118 3 BROKEUP
172185 10 3755.31 3756.74 3762.33 3 F 38645 113676 21.21 29.6195 2 BROKEUP
172186 10 3755.31 3758.99 3762.33 3 F 38645 193954 21.21 36.4973 1 BROKEUP
172187 10 3755.31 3758.87 3762.33 3 F 38645 11486 21.21 44.2118 4 BROKEUP
172188 10 3755.31 3755.8 3762.33 3 F 3016 717 43.5092 17.0808 1 BROKEUP
172163 10 3755.31 3762.66 3762.33 3 F 215107 137623 16.6924 39.5202 1 SELF_MIGRATING
172873 10 3762.33 3763.16 3762.33 3 F 215107 193954 16.6924 36.4973 2 SELF_MIGRATING
172872 10 3762.33 3765.23 3762.33 3 F 215107 717 16.6924 17.0808 2 SELF_MIGRATING
172871 10 3762.33 3764.99 3762.33 3 F 215107 47236 16.6924 46.0892 1 SELF_MIGRATING
172870 10 3762.33 3763.08 3762.33 3 F 215107 11486 16.6924 44.2118 1 SELF_MIGRATING
172862 10 3762.33 3769.33 3762.33 3 F 215107 113676 16.6924 29.6195 1 SELF_MIGRATING
172861 10 3762.33 3763.36 3762.33 3 F 215107 12476 16.6924 54.5147 2 SELF_MIGRATING
172168 10 3755.31 3771.16 3762.33 3 F 208375 11486 28.9581 44.2118 1 SELF_MIGRATING
172874 10 3762.33 3772.57 3762.33 3 F 208375 95405 28.9581 58.167 2 SELF_MIGRATING
172864 10 3762.33 3773.19 3762.33 3 F 208375 47236 28.9581 46.0892 1 SELF_MIGRATING
172863 10 3762.33 3765.92 3762.33 3 F 208375 12476 28.9581 54.5147 2 SELF_MIGRATING
172167 10 3755.31 3766.3 3762.33 3 F 208375 137623 28.9581 39.5202 5 SELF_MIGRATING
172182 10 3755.31 3776.06 3762.33 3 F 65716 193954 37.7356 36.5166 6 SELF_MIGRATING
172876 10 3762.33 3768.93 3762.33 3 F 139812 193954 42.8393 36.5166 1 SELF_MIGRATING
172892 10 3762.33 3771.79 3762.33 3 F 38645 193954 21.21 36.5166 3 SELF_MIGRATING
172867 10 3762.33 3775.52 3762.33 3 F 111080 193954 34.4271 36.5166 2 SELF_MIGRATING
172174 10 3755.31 3762.79 3762.33 3 F 128988 193954 16.526 36.5166 3 SELF_MIGRATING
172894 10 3762.33 3765 3762.33 3 F 3016 12476 43.5092 54.5339 2 PARTNER_DIED
172883 10 3762.33 3798.2 3762.33 3 F 111080 12476 34.4271 54.5339 2 PARTNER_DIED
172879 10 3762.33 3763.1 3762.33 3 F 139812 12476 42.8393 54.5339 1 PARTNER_DIED
172869 10 3762.33 3764.2 3762.33 3 F 38645 12476 21.21 54.5339 2 PARTNER_DIED
172866 10 3762.33 3767.01 3762.33 3 F 128988 12476 16.526 54.5339 2 PARTNER_DIED
172886 10 3762.33 3763.69 3762.33 3 F 65716 12476 37.7356 54.5339 1 PARTNER_DIED
172875 10 3762.33 3768.44 3762.33 3 F 139812 717 42.8585 17.0808 2 SELF_MIGRATING
172877 10 3762.33 3773.05 3762.33 3 F 139812 113676 42.8585 29.6195 2 SELF_MIGRATING
172878 10 3762.33 3781.56 3762.33 3 F 139812 137623 42.8585 39.5202 3 SELF_MIGRATING
172889 10 3762.33 3767.43 3762.33 3 F 38645 137623 21.21 39.5394 1 SELF_MIGRATING
172882 10 3762.33 3767.32 3762.33 3 F 111080 137623 34.4271 39.5394 3 SELF_MIGRATING
172170 10 3755.31 3765.79 3762.33 3 F 128988 95405 16.5453 58.167 4 SELF_MIGRATING
172865 10 3762.33 3763.14 3762.33 3 F 128988 11486 16.5453 44.2118 1 SELF_MIGRATING
172173 10 3755.31 3796.7 3762.33 3 F 128988 120936 16.5453 47.1905 1 SELF_MIGRATING
172880 10 3762.33 3771.85 3762.33 3 F 128988 717 16.5453 17.0808 1 SELF_MIGRATING
172175 10 3755.31 3764.35 3762.33 3 F 128988 47236 16.5453 46.0892 5 SELF_MIGRATING
172184 10 3755.31 3762.66 3762.33 3 F 38645 120936 21.21 47.2098 5 SELF_MIGRATING
172178 10 3755.31 3773.71 3762.33 3 F 111080 120936 34.4271 47.2098 2 SELF_MIGRATING
172897 10 3762.33 3768.5 3762.33 3 F 3016 113676 43.5092 29.6387 1 SELF_MIGRATING
172179 10 3755.31 3772.11 3762.33 3 F 111080 11486 34.4463 44.2118 1 SELF_MIGRATING
172881 10 3762.33 3773.72 3762.33 3 F 111080 717 34.4463 17.0808 1 SELF_MIGRATING
172868 10 3762.33 3768.25 3762.33 3 F 111080 47236 34.4463 46.0892 4 SELF_MIGRATING
172189 10 3755.31 3781.92 3762.33 3 F 3016 95405 43.5092 58.1862 5 SELF_MIGRATING
172888 10 3762.33 3763.51 3762.33 3 F 38645 95405 21.21 58.1862 2 SELF_MIGRATING
172884 10 3762.33 3766.08 3762.33 3 F 65716 95405 37.7356 58.1862 3 SELF_MIGRATING
172887 10 3762.33 3763.07 3762.33 3 F 65716 47236 37.7548 46.0892 1 SELF_MIGRATING
172885 10 3762.33 3766.88 3762.33 3 F 65716 11486 37.7548 44.2118 3 SELF_MIGRATING
172896 10 3762.33 3763.24 3762.33 3 F 3016 47236 43.5092 46.1084 1 SELF_MIGRATING
172891 10 3762.33 3769.05 3762.33 3 F 38645 47236 21.21 46.1084 1 SELF_MIGRATING
172183 10 3755.31 3763.98 3762.33 3 F 38645 717 21.2292 17.0808 1 SELF_MIGRATING
172890 10 3762.33 3786.33 3762.33 3 F 38645 11486 21.2292 44.2118 4 SELF_MIGRATING
172893 10 3762.33 3775.59 3762.33 3 F 3016 11486 43.5092 44.2311 1 SELF_MIGRATING
172895 10 3762.33 3764.87 3762.33 3 F 3016 717 43.5284 17.0808 1 SELF_MIGRATING
172190 9 3755.31 3760.9 3762.33 3 F 202259 2323 20.2242 18.1876 1 BROKEUP
172191 9 3755.31 3757.87 3762.33 3 F 202259 28129 20.2242 44.1352 2 BROKEUP
172192 9 3755.31 3756.39 3762.33 3 F 202259 42308 20.2242 47.9411 1 BROKEUP
172193 9 3755.31 3758.84 3762.33 3 F 202259 60557 20.2242 57.4423 1 BROKEUP
172194 9 3755.31 3756.49 3762.33 3 F 202259 1674 20.2242 18.0379 1 BROKEUP
172196 9 3755.31 3755.86 3762.33 3 F 202259 183570 20.2242 43.1332 4 BROKEUP
172197 9 3755.31 3759.54 3762.33 3 F 135258 42308 39.594 47.9411 1 BROKEUP
172198 9 3755.31 3755.96 3762.33 3 F 135258 148216 39.594 48.9379 2 BROKEUP
172201 9 3755.31 3758.1 3762.33 3 F 126711 42308 39.5426 47.9411 1 BROKEUP
172202 9 3755.31 3759.2 3762.33 3 F 126711 2323 39.5426 18.1876 2 BROKEUP
172205 9 3755.31 3760.69 3762.33 3 F 119968 42308 21.1026 47.9411 1 BROKEUP
172207 9 3755.31 3755.82 3762.33 3 F 119968 28129 21.1026 44.1352 3 BROKEUP
172208 9 3755.31 3759.08 3762.33 3 F 119968 183570 21.1026 43.1332 1 BROKEUP
172209 9 3755.31 3756.58 3762.33 3 F 119968 46763 21.1026 40.6729 5 BROKEUP
172213 9 3755.31 3755.55 3762.33 3 F 113588 183570 30.5623 43.1332 1 BROKEUP
172214 9 3755.31 3758.2 3762.33 3 F 113588 42308 30.5623 47.9411 5 BROKEUP
172215 9 3755.31 3762.08 3762.33 3 F 111795 60557 18.2142 57.4423 1 BROKEUP
172216 9 3755.31 3759.91 3762.33 3 F 111795 42308 18.2142 47.9411 3 BROKEUP
172218 9 3755.31 3757.78 3762.33 3 F 111795 46763 18.2142 40.6729 3 BROKEUP
172219 9 3755.31 3757.94 3762.33 3 F 111795 2323 18.2142 18.1876 2 BROKEUP
172221 9 3755.31 3759.01 3762.33 3 F 111619 46763 29.3783 40.6729 1 BROKEUP
172222 9 3755.31 3755.64 3762.33 3 F 111619 1674 29.3783 18.0379 1 BROKEUP
172223 9 3755.31 3760.59 3762.33 3 F 111619 28129 29.3783 44.1352 1 BROKEUP
172224 9 3755.31 3757.9 3762.33 3 F 111619 148216 29.3783 48.9379 1 BROKEUP
172225 9 3755.31 3758.64 3762.33 3 F 111619 2323 29.3783 18.1876 1 BROKEUP
172226 9 3755.31 3757.09 3762.33 3 F 111278 46763 20.7778 40.6729 1 BROKEUP
172227 9 3755.31 3759.78 3762.33 3 F 111278 148216 20.7778 48.9379 2 BROKEUP
172229 9 3755.31 3759.28 3762.33 3 F 111278 1674 20.7778 18.0379 1 BROKEUP
172231 9 3755.31 3756.14 3762.33 3 F 111278 64561 20.7778 17.7342 1 BROKEUP
172232 9 3755.31 3760.99 3762.33 3 F 111278 183570 20.7778 43.1332 3 BROKEUP
172235 9 3755.31 3759.47 3762.33 3 F 90279 60557 22.2737 57.4423 1 BROKEUP
172236 9 3755.31 3761.98 3762.33 3 F 90279 2323 22.2737 18.1876 1 BROKEUP
172239 9 3755.31 3756.71 3762.33 3 F 71348 1674 40.8685 18.0379 2 BROKEUP
172241 9 3755.31 3761.49 3762.33 3 F 71348 60557 40.8685 57.4423 4 BROKEUP
172242 9 3755.31 3756.98 3762.33 3 F 71348 2323 40.8685 18.1876 1 BROKEUP
172247 9 3755.31 3756.83 3762.33 3 F 37611 42308 35.0683 47.9411 3 BROKEUP
172249 9 3755.31 3756.49 3762.33 3 F 37611 28129 35.0683 44.1352 1 BROKEUP