Skip to content

Create relationship diagram pvcollada #4

@TotoGaz

Description

@TotoGaz

Hello,

Instead of perusing the xsd file, is there a relationship diagram that we could use to assess the format? (like https://mermaid.js.org/syntax/entityRelationshipDiagram.html)

From https://github.com/pvlib/pvcollada/blob/main/pvcollada20_schema/pvcollada_schema_0.1.xsd I could recreate (to some extent) this diagram, but it does not contain all the collections, nor the cardinalities, relations, etc. That would be helpful to understand the format

erDiagram

module {
    string manufacturer
    string name
    string type
    float nom_power
    float length
    float width
    float depth
    int num_cells
    int num_cells_length
    int num_cells_width
    int num_cells_series
    int num_strings
    string cell_type
    float bifacial_factor
    float t_coef_power
    float t_coef_isc
    float t_coef_voc
    float i_sc
    float i_mpp
    float v_oc
    float v_mpp
}

inverter {
    string manufacturer
    string name
    string type
    float nom_power_ac
    float nom_power_dc
    float capacity_ac
    float capacity_dc
    float v_mpp_min
    float v_mpp_max
    float v_mpp_nom
    float i_max_dc
    float mppt_count
    float mppt_input_count
    float v_out_ac
    float self_consumption
    float night_tare
    float temperature_derate
    float efficiency
    float efficiency_standard_value
    float efficiency_standard_type
    collada_sidref mesh_id
}

combiner {
    string manufacturer
    string name
    int input_count
}

transformer {
    string manufacturer
    string name
    float nom_power
    float v_in
    float v_out
    float efficiency
    float iron_loss
    float copper_loss
    collada_sidref mesh_id
}

software {
    string source
    string target
}


project {
    string name
    string drawing
    string company
    string country
    float latitude
    float longitude
    string timezone
    string timezone_offset
    collada_float3 transformation_vector
    string coordinate_system
    collada_sidref boundary
    int module_count
    int string_count
    float dc_capacity
    float ac_capacity
    float interconnection_limit
}
Loading

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions