18
SEPM Products Release 2015-01 New Features

SEPM Products Release 2015-01 · 1.2 Installation/Upgrade 1.2.1 System Requirements SEPM Products 2015-01 are supported on Smallworld 400 to 430. SEPM NEPAN DLLs require NEPLAN …

Embed Size (px)

Citation preview

Page 1: SEPM Products Release 2015-01 · 1.2 Installation/Upgrade 1.2.1 System Requirements SEPM Products 2015-01 are supported on Smallworld 400 to 430. SEPM NEPAN DLLs require NEPLAN …

SEPM Products Release 2015-01

New Features

Page 2: SEPM Products Release 2015-01 · 1.2 Installation/Upgrade 1.2.1 System Requirements SEPM Products 2015-01 are supported on Smallworld 400 to 430. SEPM NEPAN DLLs require NEPLAN …

SEPM Products 2015-01

© Copyright SEPM 2015 Page 2

Document Information

Key Value

Abstract This document describes new features in the SEPM product release 2015-01

Version 2015-01

Disclaimers All logos and trademarks in this document are property of their respective owners.

Contact Software Engineering and Project Management

Gerliswilstrasse 42 CH-6020 Emmenbrücke Switzerland

Tel +41 79 632 28 20 Fax +41 41 260 57 20

www.sepm.ch [email protected]

Page 3: SEPM Products Release 2015-01 · 1.2 Installation/Upgrade 1.2.1 System Requirements SEPM Products 2015-01 are supported on Smallworld 400 to 430. SEPM NEPAN DLLs require NEPLAN …

SEPM Products 2015-01

© Copyright SEPM 2015 Page 3

Contents

1 Overview 4

1.1 Changes Overview 4

1.2 Installation/Upgrade 5 1.2.1 System Requirements 5 1.2.2 Upgrade 5 1.2.3 RealDWG™-based AutoCAD DWG/DXF Format 5 1.2.4 Reframe ACP 5 1.2.5 ArcXML Format 5 1.2.6 NEPLAN 6

2 SEPM X-Translator 7

2.1 AutoCAD DWG/DXF 7 2.1.1 Overview 7 2.1.2 Import 7 2.1.3 Export 9

2.2 Smallworld 10 2.2.1 0-0 and 1-0 Relations 10

2.3 Shape 10 2.3.1 prj-Dateien 10

2.4 Text 10 2.4.1 Delete-Parameter 10

2.5 KML 11 2.5.1 Schema + ExtendedData 11

2.6 ArcXML Source Format 12 2.6.1 Overview 12 2.6.2 X-Database ArcXML 12 2.6.3 Import 13

3 SEPM NEPLAN Interface 14

3.1 Configuration for the NIS Application 14 3.1.1 Producer/Consumer without Geometry 14 3.1.2 Aggregation of Producers 14 3.1.3 Producers related to multiple house services 15 3.1.4 Orientation of Producers 15 3.1.5 SNI-Variabeln 15 3.1.6 New mode :project_networks_ns for Project Studies 16

4 LV95 17

4.1 Swisstopo Reframe Library 17 4.1.1 Special Transform RGF93 18

Page 4: SEPM Products Release 2015-01 · 1.2 Installation/Upgrade 1.2.1 System Requirements SEPM Products 2015-01 are supported on Smallworld 400 to 430. SEPM NEPAN DLLs require NEPLAN …

SEPM Products 2015-01

© Copyright SEPM 2015 Page 4

1 Overview

1.1 Changes Overview

This Release 2015-01 covers the following improvements:

New functionality in the SEPM X-Translator

The first version of the new RealDWG™-based DWG/DXF format

New ArcXML source format

A number of smaller improvements of various formats

New functionality in the SEPM NEPLAN Interface

Aggregation of photovoltaic systems

Other improvements and bug fixes

New version of SEPM's Reframe ACP for coordinate conversion to/from LV95 based on the current software library available from Swisstopo.

Page 5: SEPM Products Release 2015-01 · 1.2 Installation/Upgrade 1.2.1 System Requirements SEPM Products 2015-01 are supported on Smallworld 400 to 430. SEPM NEPAN DLLs require NEPLAN …

SEPM Products 2015-01

© Copyright SEPM 2015 Page 5

1.2 Installation/Upgrade

1.2.1 System Requirements

SEPM Products 2015-01 are supported on Smallworld 400 to 430.

SEPM NEPAN DLLs require NEPLAN 5.5.4 or higher.

The RealDWG™-based AutoCAD DWG/DXF format requires .net 4.5.

1.2.2 Upgrade

The upgrade can be done as usual with following steps

Replace products x_translator and x_database

Copy SEPM customer modules

Copy license files from the old to the new version (unless you have configured the path to the license files x_base_settings.licenses_dir)

Users of the SEPM NEPLAN interface should pay attention to the points below

For using the following products please follow the mentioned installation steps:

1.2.3 RealDWG™-based AutoCAD DWG/DXF Format

Installation of DwgAcpSetup.msi. This Setup will download and install .net 4.5, otherwise the installation cannot continue.

Add the installation directory to SW_ACP_PATH. The installation directory should contain the files DwgAcp.exe and DwgLibrary.dll along with the installed ReadDWG files.

1.2.4 Reframe ACP

Uninstall existing Swisstopo-Reframe-Software

Run the new Swisstopo Setup (32Bit, ReframeComDll_x86.msi)

Make sure that SW_ACP_PATH points to the new version of reframe_acp.exe in directory x_translator\modules\base\reframe_acp\bin. This directory must contain the files reframe_acp.exe and ReframeLibWrapper.dll.

1.2.5 ArcXML Format

Please make sure that SW_ACP_PATH includes the path to XmlInspectorAcp.exe in directory x_translator\modules\base\xmlinspectoracp\bin.

Page 6: SEPM Products Release 2015-01 · 1.2 Installation/Upgrade 1.2.1 System Requirements SEPM Products 2015-01 are supported on Smallworld 400 to 430. SEPM NEPAN DLLs require NEPLAN …

SEPM Products 2015-01

© Copyright SEPM 2015 Page 6

1.2.6 NEPLAN

New Standard SNI Variables

A conflict may arise if you have configured the following SNI variables in your customer module. In this case it is recommended to remove the variable from the customer configuration and to use the standard variable instead:

Collection Bemerkung

Consumer

(nis_el_meter_consumer)

Attribute group "dyn_load": Lftype, Slast, Pload, Qload, Iload, Cosphi, Elast, Units

Producer

(nis_el_meter_producer)

StaticGeneratorType: The mthode neplan_dyn_staticgeneratortype must return the following values: 0 = Wind, 1 = PV, 2 = Renewable, 3 = Fuel

If the Aggregation of Producers (see below) is activated, this method must return "1" for the photovoltaic installations.

Iset: neplan_dyn_i

Sr, Ur: On NEPLAN Desktop 5.5.5 these variables are mandatory. Bei Ur wird die Spannung des zugehörigen Hausanschlusses zurückgegeben, Sr returns the result of neplan_dyn_p/neplan_dyn_cosphi, if these values are defined.

Objects mapping to LINE (nis_el_cable,:nis_el_oh_cable)

Year. The installation year is exported on LINEs.

Changes 3318 and 3324

Switches and fuses

Ir (fuse): For fuses (FUSE) the value of neplan_dyn_ir is used.

Ir (switch): For switches (CIRCBREAK, LOADSWITCH, DISCSWITCH) the value of neplan_dyn_ir_ka is used.neplan_dyn_ir (Ampere) and neplan_dyn_ir_ka must be properly implemented. This is implemented in the standard configuration of the SEPM NEPLAN interface.

Note: before release 2014-02 the API neplan_dyn_i was used both for fuse values and current values.This was changed in release 2014-02 to use neplan_dyn_i for currents and neplan_dyn_ir for fuse values instead. neplan_ir_ka was introduced in a patch for this version.

Conclusion: If the methods neplan_dyn_i, neplan_dyn_ir or neplan_dyn_ir_ka where adapted in a customer module, it should be checked if these changes are still compatible with the new release.

Aggregation of Producers

Please add the following setting to the NEPLAN-configuration to activate this function:

...

:is_remove_devices, _true,

:convert_producer_mode, :aggregate_pv,

:user_data, x_database_settings.neplan_user_data_ews_ns,

...

Page 7: SEPM Products Release 2015-01 · 1.2 Installation/Upgrade 1.2.1 System Requirements SEPM Products 2015-01 are supported on Smallworld 400 to 430. SEPM NEPAN DLLs require NEPLAN …

SEPM Products 2015-01

© Copyright SEPM 2015 Page 7

2 SEPM X-Translator

2.1 AutoCAD DWG/DXF

2.1.1 Overview

This version 2015-01 includes a first implementation of RealDWG™-based DWG and DXF source and target formats. The new RealDWG™-based formats supports all currently available DWG and DXF versions. The new format also supports bigger files and offers better performance and less memory consumption than the existing DWG format.

This implementation does not yet contain all the functionality that is available in the existing DWG and DXF formats. Nevertheless it is planned to reach an equivalent feature set in a future version, to be able to replace the existing DWG and DXF formats ('original' DXF12-target format and ODA-based DWG/DXF-format). The major restrictions currently are:

Only the Layer Mode is supported, meaning that import into the X-Translator Database is not yet

Entity types HATCH, POLYLINE/VERTEX, LWPOLYLINE, INSERT, TEXT and MTEXT can be imported

Support for symbols and styles is not yet fully implemented

2.1.2 Import

As an example, polyline entities of the Layer "__K&B_OH" should be imported as routes:

Page 8: SEPM Products Release 2015-01 · 1.2 Installation/Upgrade 1.2.1 System Requirements SEPM Products 2015-01 are supported on Smallworld 400 to 430. SEPM NEPAN DLLs require NEPLAN …

SEPM Products 2015-01

© Copyright SEPM 2015 Page 8

The workflow is exactly the same as with the existing formats. Select the file to import and configure the mapping to the Smallworld data model.

Page 9: SEPM Products Release 2015-01 · 1.2 Installation/Upgrade 1.2.1 System Requirements SEPM Products 2015-01 are supported on Smallworld 400 to 430. SEPM NEPAN DLLs require NEPLAN …

SEPM Products 2015-01

© Copyright SEPM 2015 Page 9

Polylines loaded into Smallworld.

2.1.3 Export

Also the export is identical to the other formats: Configure the Smallworld source, select target path and target DWG version, and export the data.

Page 10: SEPM Products Release 2015-01 · 1.2 Installation/Upgrade 1.2.1 System Requirements SEPM Products 2015-01 are supported on Smallworld 400 to 430. SEPM NEPAN DLLs require NEPLAN …

SEPM Products 2015-01

© Copyright SEPM 2015 Page 10

Smallworld-Daten to a AutoCAD 2013 DWG file.

2.2 Smallworld

2.2.1 0-0 and 1-0 Relations

Smallworld joins with the type 0-0 and 1-0 are now exported again (this functionality was removed in version 2010-01 for performance reasons)

2.3 Shape

2.3.1 prj-Dateien

The contents of the prj-file for coordinate system ETRS89 Zone 32 was changed according to: http://spatialreference.org/ref/sr-org/7675/esriwkt/

2.4 Text

2.4.1 Delete-Parameter

The new keyword '#del#<ID>' was introduced to be able to delete an existing object in the database. Obviously the source and target attributes must be connected with "Connect ID" for this to work.

When importing this CSV file the object with ID 30062 gets deleted.

Page 11: SEPM Products Release 2015-01 · 1.2 Installation/Upgrade 1.2.1 System Requirements SEPM Products 2015-01 are supported on Smallworld 400 to 430. SEPM NEPAN DLLs require NEPLAN …

SEPM Products 2015-01

© Copyright SEPM 2015 Page 11

2.5 KML

2.5.1 Schema + ExtendedData

Alphanumeric attributes are now transferred as "KML ExtendedData" (Schema/SimpleField and SchemaData/SimpleData)..

The attributes are presented in Google Earth in a table and can also be read by other GIS systems if they support KML-ExtendData.

When importing a KML file the attributes are shown as usual in the source model to be mapped on the target model.

Page 12: SEPM Products Release 2015-01 · 1.2 Installation/Upgrade 1.2.1 System Requirements SEPM Products 2015-01 are supported on Smallworld 400 to 430. SEPM NEPAN DLLs require NEPLAN …

SEPM Products 2015-01

© Copyright SEPM 2015 Page 12

2.6 ArcXML Source Format

2.6.1 Overview

If your objective is to treat data from a Esri Geodatabase inside Smallworld then SEPM can offer the following solution:

Generation of a "X-Database ArcXML" directly from a XML Workspace Document created inside ArcCatalog.

Import of the XML data with the new "ArcXML" source format

SEPM offers the creating of such a X-Database as a service.

Create a "XML Workspace Document" in ArcCatalog as base for the X-Database ArcXML.

2.6.2 X-Database ArcXML

Smallworld ArcXML database generated directly from the ArcGIS XML.

Page 13: SEPM Products Release 2015-01 · 1.2 Installation/Upgrade 1.2.1 System Requirements SEPM Products 2015-01 are supported on Smallworld 400 to 430. SEPM NEPAN DLLs require NEPLAN …

SEPM Products 2015-01

© Copyright SEPM 2015 Page 13

2.6.3 Import

Once the ArcXML has been opened in Smallworld the X-Translator user interface is used to load the data.

Page 14: SEPM Products Release 2015-01 · 1.2 Installation/Upgrade 1.2.1 System Requirements SEPM Products 2015-01 are supported on Smallworld 400 to 430. SEPM NEPAN DLLs require NEPLAN …

SEPM Products 2015-01

© Copyright SEPM 2015 Page 14

3 SEPM NEPLAN Interface

3.1 Configuration for the NIS Application

3.1.1 Producer/Consumer without Geometry

Producer and Consumer get their position from the assosicated meter point or house service objects if they don't have a geometry set.

3.1.2 Aggregation of Producers

Producers of type 'photovoltaic' can be aggregated into one single producer.

In this example three photovoltaic systems have been aggregated into one.

Page 15: SEPM Products Release 2015-01 · 1.2 Installation/Upgrade 1.2.1 System Requirements SEPM Products 2015-01 are supported on Smallworld 400 to 430. SEPM NEPAN DLLs require NEPLAN …

SEPM Products 2015-01

© Copyright SEPM 2015 Page 15

3.1.3 Producers related to multiple house services

In the NIS application it is possible to associate a producer with multiple house services. In this situation the electric connection was not exported correctly, this is now improved.

A producer (meter point) is connected to HAS1, HAS11 and HAS12. The producer is associated to HAS1 in NEPLAN as before. Additional lines HAS1-HAS11 and HAS1-HAS12 are now created to correctly map connectivity inside NEPLAN.

3.1.4 Orientation of Producers

Producers are now always oriented vertically.

3.1.5 SNI-Variabeln

New standard SNI-variables have been configured, see "Installation/Upgrade".

Page 16: SEPM Products Release 2015-01 · 1.2 Installation/Upgrade 1.2.1 System Requirements SEPM Products 2015-01 are supported on Smallworld 400 to 430. SEPM NEPAN DLLs require NEPLAN …

SEPM Products 2015-01

© Copyright SEPM 2015 Page 16

3.1.6 New mode :project_networks_ns for Project Studies

The new mode :project_networks_ns was introduced to be able to define the set of exported objects with a Magik method.

_pragma(classify_level=advanced,topic={x_database},usage=redefinable)

x_database_settings.define_shared_constant(

##

##

##

:neplan_strom_settings_project_ms1_networks_ns,

property_list.new_with(

...

:neplan_mode, :project_networks_ns,

:project_networks_ns_method, :|project_objects()|,

...

Exported objectsas returned by "project_object()".

Page 17: SEPM Products Release 2015-01 · 1.2 Installation/Upgrade 1.2.1 System Requirements SEPM Products 2015-01 are supported on Smallworld 400 to 430. SEPM NEPAN DLLs require NEPLAN …

SEPM Products 2015-01

© Copyright SEPM 2015 Page 17

4 LV95

4.1 Swisstopo Reframe Library

The Swisstopo Software Library for conversion to and from LV95 was updated in 2014 (reframedll220514.zip). The SEPM interface (Reframe APC, reframe_acp.exe) was recompiled using the new library. Additionally the "GpsRef" coordinate conversion function was added as explained below.

The Magik-API is expanded with modes 2-5:

_pragma(classify_level=advanced,topic={x_translator})

_method reframe_acp.compute_reframe( p_mode, p_coords )

## Parameters : P_MODE : The following modes are supported:

## 0 : LV03 -> LV95 (ComputeReframe)

## 1 : LV95 -> LV03 (ComputeReframe)

## 2 : LV03 -> WGS84 (ComputeReframe/ComputeGpsref)

## 3 : WGS84 -> LV03 (ComputeGpsref/ComputeReframe)

## 4 : LV95 -> WGS84 (ComputeGpsref)

## 5 : WGS84 -> LV95 (ComputeGpsref)

## P_COORDS : A list of coordinates (meters or geographic coordinates)

## Returns : A new transformed list of coordinates

## Function :

...

Mode Description

0 LV03 to LV95

1 LV95 to LV03

2 LV03 to WGS84

3 WGS84 to LV03

4 LV95 to WGS84

5 WGS84 to LV95

The Reframe ACP therefore allows to call the ComputeReframe and GpsRef from Magik in a performant way.

Page 18: SEPM Products Release 2015-01 · 1.2 Installation/Upgrade 1.2.1 System Requirements SEPM Products 2015-01 are supported on Smallworld 400 to 430. SEPM NEPAN DLLs require NEPLAN …

SEPM Products 2015-01

© Copyright SEPM 2015 Page 18

4.1.1 Special Transform RGF93

As an application of the new Reframe ACP modes the following special transform was configured:

Special Transform Description

LV03/CH1903 -> RGF93 Conversion from LV03 to RGF93

RGF93 -> LV03/CH1903 Conversion from RGF93 tp LV03

New special transforms available in the "Transform" optins tab.

_pragma(classify_level=restricted,topic={x_translator})

_method x_translator_settings.convert_coords_rgf93_lv03( p_coords )

## Parameters : P_COORDS : List of source coordinates (RGF93)

## Returns : List of transformed coordinates (LV03)

## Function :

x_translator_settings.cache_rgf93_transforms()

_local l_coords << coords_rope.new_from( p_coords )

l_coords.transform_in_situ( x_translator_settings.cached_txfm_rgf93_wgs84 )

_return reframe_acp.compute_reframe( 3, l_coords )

_endmethod

$

This example shows how the special transform was built based on a Smallworld (PROJ4) coordinate conversion and a subsequent Reframe ACP call.