Skip to content

Configuring a DXF from an Empty Drawing

AutoPV can easily import PV layout designs from DXF files. This guide describes how to configure a PV layout design starting with an empty georeferenced DXF file.

It is recommended to use AutoCAD to configure PV layout designs as it is generally the easiest for beginners. However, other CAD tools as well as some GIS tools can also be used.

ℹ️ This guide is based on utilizing AutoCAD LT running on Windows. Other versions of AutoCAD running on different platforms can also be used although their functions may be different.

Pre-requisites


  1. Georeferenced DXF file (see Creating a Georeferenced CAD File)
  2. An understanding of basic CAD operations (see Basic CAD Operations for Configuring DXF PV Layout Designs)

Minimum Requirements


AutoPV only requires the following 4 design features to be configured in the DXF:

  1. PV Tracker
  2. MVS (PTS or PCU)
  3. Substation
  4. PV Block Boundary

PV Tracker

Requirements

  • Object type: Polyline as a block reference
  • Layer name: APV - Tracker Main
  • Attributes: TIER

Creating a PV Tracker

To create a PV Tracker, start by drawing a closed polyline or use the rectangle tool to draw a rectangular shape that represents the PV Tracker. The width of the tracker should be equal to the length of the PV module selected and the length of the tracker should equal the resulting length when considering the no. of modules in series, no. of strings mounted on the tracker, module gap and motor gap.

tracker_dims_defn

Tracker Dimensions Definition

E.g. given the following:

  • PV module dimensions: 2.103 (l) x 1.102 (w) m
  • No. of modules in series: 30
  • No. of PV strings: 3
  • Module gap: 0.02 m
  • Motor gap: 0.5 m

The tracker length can be obtained from AutoPV by creating a new tracker using the tracker configurator tool with the above parameters or by using the following formulae:

  • Total no. of modules = No. of modules in series x No. of PV strings

  • Tracker length = Total no. of modules x PV module width + (Total no. of modules - 2) x Module gap + motor gap

For the above example:

  • Total no. of modules = 30 x 3 = 90

  • Tracker length = 90 x 1.102 + (90 - 2) x 0.02 + 0.5 = 101.44 m

tracker_dims_example

Example PV Tracker Dimensions

Next, place the drawn polyline on the APV - Tracker Main layer by selecting the polyline and choosing the layer from the dropdown list:

dropdown_list

Assigning the PV Tracker to the Correct Layer

(see Basic CAD Operations for Configuring DXF PV Layout Designs for creating layers)

Add the necessary attributes by clicking the Define Attributes button in the Block group of the home tab or by typing the command ATT followed by the Enter key.

defining_attributes

Defining Attributes

Create an attribute for TIER. Insert the parameter name in the Tag and Prompt field and specify any default value in the Default field. Click OK on the prompt and place the attribute label anywhere near to the polyline. Near the bottom left corner is usually a good location.

tier_attribute_defn

tier_attribute_placed

Defining the TIER Attribute

Finally, create a block reference for the PV Tracker by selecting the polyline and TIER attribute then click the Create button in the Block group of the home tab or by typing the command block followed by the Enter key. The block creation window will be displayed.

create_a_block_btn

Creating a Block Definition Button

Specify any name in the Name field then click Pick point to define the origin point of the block reference. Click on the bottom left corner point of the polyline when prompted. Ensure that object snapping is turned on to precisely select the corner point.

Set the units to unitless then click OK.

create_a_block_details

Creating a Block Definition Example

Selecting the object and viewing its properties should now display the object as a Block Reference with the TIER attribute in the Attributes section.

properties_window_block_ref

Creating a Block Definition Example

Lastly, select the object (block reference) and place it on the APV - Tracker Main layer.

This tracker can now be used for generating PV layouts by using the copy/paste tool or the array tool to quickly fill sites.

⚠️ If the array tool is used, selecting a tracker will select the entire array of trackers and the properties window will show the object type as an array. To remove this grouping, select the array then type explode to use the explode command. Individual trackers should be selectable again and their object type should be displayed as a block reference in the properties window.

ℹ️ For dual-row trackers, start by drawing 2 polylines that represent the 2 PV tables spaced apart by pitch. Then follow the same steps above. Both polylines should be contained in a single block reference. Also note the difference in tracker length. The total no. of modules should be divided by 2 before calculating the tracker length to obtain the correct length.

dual_row_tracker_defn

Dual-Row Tracker Definition

Assigning attribute values to PV Trackers

After a PV layout has been designed from the newly created tracker, the final step is to assign a value to the TIER attribute for each tracker.

A PV block is defined as a number of trackers connected to a single MVS i.e. a PV block can only have 1 MVS. A PV block is divided into a north and south section by a main corridor. A TIER is defined as a single row of trackers surrounded by main or minor corridors. Tier numbers increase in the direction away from the main corridor. The first row of trackers north of the main corridor will therefore be Tier 0, the second row will be Tier 1, the third row will be Tier 2, and so forth.

Similarly, the first row of trackers south of the main corridor will be Tier 0, the second row will be Tier 1, the third will be Tier 2, and so forth.

pv_block_defn

PV Block Example

To assign a value to the TIER attribute, simply select the relevant tracker(s) and insert an integer value (0, 1, 2, etc.) for the TIER attribute in the properties window.

set_tier_att_value

Setting the TIER Attribute Value

Trackers are now fully defined and ready to import into AutoPV.

MVS

Requirements

  • Object type: Polyline as a block reference
  • Layer name: APV - PCU for central inverter plants OR APV - PTS for string inverter plants
  • Attributes: BLOCK_ID, MIN_BOXES, CORRIDOR

Creating an MVS

To create an MVS, start by drawing a closed polyline or use the rectangle tool to draw a rectangular shape that represents the MVS. The width and depth should match the dimensions shown in the datasheet for the selected MVS.

Next, place the drawn polyline on the APV - PCU layer if a central inverter plant is being designed or the APV - PTS layer if a string inverter or string inverter+ plant is being designed. This can be done by selecting the polyline and choosing the layer from the dropdown list.

Add the necessary attributes by clicking the Define Attributes button in the Block group of the home tab or by typing the command ATT followed by the Enter key.

Create attributes for BLOCK_ID, MIN_BOXES and CORRIDOR. Insert the parameter name in the Tag and Prompt field and specify any default value in the Default field. Click OK on the prompt and place the attribute label anywhere near to the polyline. Near the bottom left corner is usually a good location.

mvs_attributes

Defining MVS Attributes

Finally, create a block reference for the MVS by selecting the polyline and all attributes then click the Create button in the Block group of the home tab or by typing the command block followed by the Enter key. The block creation window will be displayed.

Specify any name in the Name field then click Pick point to define the origin point of the block reference. Click on the bottom left corner point of the polyline when prompted. Ensure that object snapping is turned on to precisely select the corner point.

Set the units to unitless then click OK.

Selecting the object and viewing its properties should now display the object as a Block Reference with the BLOCK_ID, MIN_BOXES and CORRIDOR attributes in the Attributes section.

mvs_properties

MVS Properties

Lastly, select the object (block reference) and place it on the APV - PCU or APV - PTS layer (whichever is relevant).

This MVS can now be used for generating PV layouts by using the copy/paste tool.

Assigning attribute values to MVS units

After a PV layout has been designed from the newly created MVS, the final step is to assign values to the BLOCK_ID, MIN_BOXES and CORRIDOR attributes.

Simply select the relevant MVS and insert an integer value (1, 2, 3, etc.) for the BLOCK_ID attribute in the properties window. BLOCK_ID refers to the PV block that the MVS belongs to. A PV block is defined as a number of trackers connected to a single MVS i.e. a PV block can only have 1 MVS.

Similarly, insert an integer value (1, 2, 3, etc.) for the MIN_BOXES attribute in the properties window. MIN_BOXES represents the no. of DC-DC combiner boxes connected to the PCU in central inverter plants or the no. of string inverters connected to the MVS for string inverter or string inverter+ plants. Varying values can be used for each MVS but the total should equal the total no. of DC-DC combiner boxes or strings inverters used for the plant.

E.g. if the plant is to be designed with 100 string inverters and 4 PV blocks, then the MIN_BOXES attribute can be set to 25 on each MVS. If different values were to be used for each MVS, then we would need to ensure that the total still equals 100 and the MVS has sufficient inputs to accept the specified qty of MIN_BOXES by referring to the datasheet of the selected MVS.

Lastly, insert an integer value (1, 2, 3, etc.) for the CORRIDOR attribute in the properties window. CORRIDOR refers to the main corridor in which the MVS is located. After the PV layout has been designed, each MVS will be located within a main corridor. These should be numbered starting at the northern-most corridor of the site.

corridor_numbering

Corridor Numbering

The MVS units are now fully defined and ready to import into AutoPV.

Substation

Requirements

  • Object type: Polyline as a block reference
  • Layer name: APV - Substation
  • Attributes: None

Creating a Substation

To create a Substation, start by drawing a closed polyline or use the rectangle tool to draw a rectangular shape that represents the Substation. A typical size is 100 x 100 m.

Next, place the drawn polyline on the APV - Substation layer by selecting the polyline and choosing the layer from the dropdown list.

Create a block reference for the Substation by selecting the polyline then clicking the Create button in the Block group of the home tab or by typing the command block followed by the Enter key. The block creation window will be displayed.

Specify any name in the Name field then click Pick point to define the origin point of the block reference. Click on the bottom left corner point of the polyline when prompted. Ensure that object snapping is turned on to precisely select the corner point.

Set the units to unitless then click OK.

Selecting the object and viewing its properties should now display the object as a Block Reference.

Lastly, select the object (block reference) and place it on the APV - Substation layer.

substation_defn

Substation Definition

This Substation can now be used in PV layout designs by using the copy/paste or move tool. Ensure that the PV layout design only contains 1 Substation placed at the required location.

PV Block Boundary

Requirements

  • Object type: Polyline
  • Layer name: APV - Block
  • Attributes: None

Creating a PV Block Boundary

Create PV block boundaries for each PV block in the PV layout design by drawing a closed polyline surrounding all the PV trackers and MVS units belonging to the same PV block. Ensure that the polylines do not overlap the PV Trackers or MVS i.e. there should always be a gap between the PV block boundary and PV Trackers.

pv_block_boundary

PV Block Boundary for each Block (orange line)

Next, place the drawn polylines on the APV - Block layer by selecting them and choosing the layer from the dropdown list.

The PV layout design is now fully configured and ready to import into AutoPV!

Summary


The general process for configuring design features as block references can be summarised as follows:

Draw a polyline representing the feature -> Assign the polyline to the correct layer -> Define attributes -> Create a block reference -> Assign attribute values

Summary of Minimum Requirements

Design Feature Object Type Layer Name Attributes Example Values
PV Tracker Polyline as a block reference APV - Tracker Main TIER TIER = 0
MVS Polyline as a block reference APV - PCU OR APV - PTS BLOCK_ID, MIN_BOXES, CORRIDOR BLOCK_ID = 1, MIN_BOXES = 24, CORRIDOR = 2
Substation Polyline as a block reference APV - Substation --- ---
PV Block Boundary Polyline APV - Block --- ---

Example DXF

The following example DXF is fully configured and can be used as a guide:

APV_DXF_Template_LO19.dxf

Tips and Common Issues

Check your spelling. Ensure all required layer names and attributes are named exactly as per this guide including spaces and uppercase or lowercase letters.

Do not rotate or reflect block references. Before creating a block reference, ensure that all drawn geometry (e.g. polylines) are correctly orientated.