Skip to content

Commit 39989a1

Browse files
committed
Adopt the name DSS-Extensions (with hyphen)
1 parent 1fb942c commit 39989a1

File tree

8 files changed

+20
-20
lines changed

8 files changed

+20
-20
lines changed

LICENSE

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
1-
Copyright (c) 2016-2022 Paulo Meira
2-
Copyright (c) 2018-2022 DSS Extensions contributors
1+
Copyright (c) 2016-2023 Paulo Meira
2+
Copyright (c) 2018-2023 DSS-Extensions contributors
33
All rights reserved.
44

55
Redistribution and use in source and binary forms, with or without

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -42,9 +42,9 @@ If you are new to OpenDSS in general, there are two main aspects you need to stu
4242
- The APIs, mostly notably the class organization and logic sequences of the COM API. These are used to further automate the DSS engine, extract data and integrate to third party software. The current APIs all follow the concept of "active object" that may be new for many users.
4343
- The official COM DLL is available only for Microsoft Windows ([COM is a Microsoft technology](https://en.wikipedia.org/wiki/Component_Object_Model)), while DSS Sharp tries to reproduce the same API without depending on specific platforms — we can use Windows, Linux, or macOS, even on ARM processors.
4444

45-
The official OpenDSS version from EPRI contains lots of material for both topics and, ignoring the whole installation and registering related to COM, are also applicable to DSS Sharp and other DSS Extensions.
45+
The official OpenDSS version from EPRI contains lots of material for both topics and, ignoring the whole installation and registering related to COM, are also applicable to DSS Sharp and other DSS-Extensions.
4646

47-
You can learn the basics using the official version and migrate to DSS Sharp when required or when you are interested in the extras from DSS Extensions.
47+
You can learn the basics using the official version and migrate to DSS Sharp when required or when you are interested in the extras from DSS-Extensions.
4848

4949
### Installing
5050

README.pt-BR.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ Para compatibilidade, DSS Sharp tenta reproduzir a mesma interface/API que o mó
1212
Com exceção de gráficos e outros componentes visuais, este projeto expõe a maioria das funcionalidades implementadas na DSS C-API, incluindo algumas otimizações de desempenho, suporte a executar scripts .DSS dentro de arquivos ZIP, suporte inicial a exportação JSON, compatibilidade multiplataforma (Linux, Windows, macOS), includindo Intel x86/x64 e ARM.
1313
Ao contrário da implementação oficial, DSS Sharp suporta a criação de múltiplas instâncias independentes do motor do OpenDSS ([`dss_sharp.DSS.NewContext()`](https://dss-extensions.org/dss_sharp/html/d0e4d400-3bd9-1244-3cac-8f1234cbad9f.htm)), efetivamente permitindo que o usuário empregue aplicações com múltiplos threads de forma mais efetiva. A maioria das funções da versão PM do OpenDSS também estão [disponíveis](https://dss-extensions.org/dss_sharp/html/f3440753-3e74-bdb2-81c6-9052f8742d7e.htm).
1414

15-
Para uma introdução geral, visite https://dss-extensions.org e siga o desenvolvimento através da organização DSS Extensions e https://github.com/dss-extensions/dss-extensions
15+
Para uma introdução geral, visite https://dss-extensions.org e siga o desenvolvimento através da organização DSS-Extensions e https://github.com/dss-extensions/dss-extensions
1616

1717
<p align="center">
1818
<img alt="Visão geral dos repositórios" src="https://raw.githubusercontent.com/dss-extensions/dss_capi/master/docs/images/repomap.png" width=600>
@@ -44,9 +44,9 @@ Se ainda não é proficiente em OpenDSS, há dois principais aspectos a investig
4444
- As interfaces de programação (APIs), em especial a organização de classes e lógica empregada na API COM. As interfaces são usadas para automatizar ainda mais o uso do motor do DSS, extrair dados e integrar programas e bibliotecas de terceiros. As APIs atuais todas seguem o conceito de "objeto ativo" ("Active...") que pode ser novo para muitos usuários.
4545
- O DLL do módulo COM oficial está disponível apenas no Microsoft Windows ([COM é uma tecnologia da Microsoft](https://pt.wikipedia.org/wiki/Component_Object_Model)). DSS Sharp tenta reproduzir a mesma interface em nível do usuário sem depender de plataformas específicas — podemos usar Windows, Linux, or macOS, mesmo em processadores ARM.
4646

47-
A instalação da versão oficial do OpenDSS desenvolvida pelo EPRI contém bastante material para ambos os tópicos e, pulando a parte de instalação e registro do módulo COM (não necessário aqui), o material é aplicável para DSS Sharp e outras DSS Extensions.
47+
A instalação da versão oficial do OpenDSS desenvolvida pelo EPRI contém bastante material para ambos os tópicos e, pulando a parte de instalação e registro do módulo COM (não necessário aqui), o material é aplicável para DSS Sharp e outras DSS-Extensions.
4848

49-
Usuários podem estudar e aprender os principais conceitos empregando a versão oficial e migrar para DSS Sharp quando necessário ou houver interesse de empregar as funcionalidades extras disponíveis nas DSS Extensions.
49+
Usuários podem estudar e aprender os principais conceitos empregando a versão oficial e migrar para DSS Sharp quando necessário ou houver interesse de empregar as funcionalidades extras disponíveis nas DSS-Extensions.
5050

5151
### Instalação
5252

dss_sharp.csproj

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
<PackageReadmeFile>README.md</PackageReadmeFile>
99
<NoWarn>1591</NoWarn>
1010
<PlatformTarget>x64</PlatformTarget>
11-
<Authors>Paulo Meira, DSS Extensions contributors</Authors>
11+
<Authors>Paulo Meira, DSS-Extensions contributors</Authors>
1212
<PackageVersion>0.13.1</PackageVersion>
1313
<Title>DSS Sharp</Title>
1414
<Description>
@@ -18,7 +18,7 @@
1818

1919
Extra features include support for .DSS scripts in ZIP files, creation of multiple DSS instances in the same process (including user-controlled multi-threading), and an extended API for various components.
2020

21-
DSS Sharp is part of the DSS Extensions group of projects. See more at https://dss-extensions.org/
21+
DSS Sharp is part of the DSS-Extensions group of projects. See more at https://dss-extensions.org/
2222
</Description>
2323
<PackageId>dss_sharp</PackageId>
2424
<license>BSD-3-Clause AND LGPL</license>

examples/WinFormsAppSample/README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -101,7 +101,7 @@ If the file doesn't exist, you should instead get a new message box telling you
101101

102102
## Multiple scenarios and better control through the API
103103

104-
Although running scripts and exporting text files is useful, the main advantanges of the APIs (either dss_sharp or the official COM module),
104+
Although running scripts and exporting text files is useful, the main advantages of the APIs (either dss_sharp or the official COM module),
105105
is the ability to get numeric data directly for different scenarios according to the analysis the user is required to achieve.
106106

107107
For example, suppose you wanted to compare the voltages for two scenarios of load.
@@ -312,7 +312,7 @@ output from `show voltages ln`, but will also get no error!
312312

313313
When we set `engine.Error.EarlyAbort = false` on dss_sharp, you will get the same behavior.
314314

315-
On the other hand, the default behavior of dss_sharp and DSS Extensions in general, with `engine.Error.EarlyAbort = true`,
315+
On the other hand, the default behavior of dss_sharp and DSS-Extensions in general, with `engine.Error.EarlyAbort = true`,
316316
is to stop the execution on the first error found. As such, we don't inhibit errors in automated/unattended
317317
large scale simulations.
318318

src/dss_capi_lib.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11

22
// dss_sharp: A compatibility layer for DSS C-API that mimics the official OpenDSS COM interface.
33
// Copyright (c) 2016-2023 Paulo Meira
4-
// Copyright (c) 2018-2023 DSS Extensions contributors
4+
// Copyright (c) 2018-2023 DSS-Extensions contributors
55
//
66
// See LICENSE for more information.
77
//
@@ -18,7 +18,7 @@ namespace native
1818
{
1919
/// <summary>
2020
/// The DSS_CAPI static class exposes DSS C-API functions to C#.
21-
/// DSS C-API is the library from DSS Extensions that implements the
21+
/// DSS C-API is the library from DSS-Extensions that implements the
2222
/// (customized, not supported by EPRI, etc.) OpenDSS engine and wraps
2323
/// it in easily consumable C-compatible functions.
2424
///

src/dss_sharp.cs

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11

22
// dss_sharp: A compatibility layer for DSS C-API that mimics the official OpenDSS COM interface.
33
// Copyright (c) 2016-2023 Paulo Meira
4-
// Copyright (c) 2018-2023 DSS Extensions contributors
4+
// Copyright (c) 2018-2023 DSS-Extensions contributors
55
//
66
// See LICENSE for more information.
77
//
@@ -280,7 +280,7 @@ public enum DSSCompatFlags {
280280
/// If enabled, don't check for NaNs in the inner solution loop.
281281
/// This can lead to various errors.
282282
/// This flag is useful for legacy applications that don't handle OpenDSS API errors properly.
283-
/// Through the development of DSS Extensions, we noticed this is actually a quite common issue.
283+
/// Through the development of DSS-Extensions, we noticed this is actually a quite common issue.
284284
/// </summary>
285285
NoSolverFloatChecks = 0x00000001,
286286

@@ -4578,7 +4578,7 @@ public Settings(APIUtil util) : base(util)
45784578
/// <summary>
45794579
/// {True | False*} Designates whether to allow duplicate names of objects
45804580
///
4581-
/// **NOTE**: for DSS Extensions, we are considering removing this option in a future
4581+
/// **NOTE**: for DSS-Extensions, we are considering removing this option in a future
45824582
/// release since it has performance impacts even when not used.
45834583
/// </summary>
45844584
public bool AllowDuplicates
@@ -23576,7 +23576,7 @@ public bool AllowChangeDir
2357623576
/// <summary>
2357723577
/// If enabled, the `DOScmd` command is allowed. Otherwise, an error is reported if the user tries to use it.
2357823578
///
23579-
/// Defaults to false/0 (disabled state). Users should consider DOScmd deprecated on DSS Extensions.
23579+
/// Defaults to false/0 (disabled state). Users should consider DOScmd deprecated on DSS-Extensions.
2358023580
///
2358123581
/// This can also be set through the environment variable DSS_CAPI_ALLOW_DOSCMD. Setting it to 1 enables
2358223582
/// the command.
@@ -23660,7 +23660,7 @@ public bool COMErrorResults
2366023660
///
2366123661
/// - NoSolverFloatChecks = 0x1 (bit 0): If enabled, don't check for NaNs in the inner solution loop. This can lead to various errors.
2366223662
/// This flag is useful for legacy applications that don't handle OpenDSS API errors properly. Through the
23663-
/// development of DSS Extensions, we noticed this is actually a quite common issue.
23663+
/// development of DSS-Extensions, we noticed this is actually a quite common issue.
2366423664
///
2366523665
/// - BadPrecision = 0x2 (bit 1): Toggle worse precision for certain aspects of the engine. For example,
2366623666
/// the sequence-to-phase (`As2p`) and sequence-to-phase (`Ap2s`) transform matrices. On DSS C-API,

src/dss_sharp_util.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
// dss_sharp: A compatibility layer for DSS C-API that mimics the official OpenDSS COM interface.
22
// Copyright (c) 2016-2022 Paulo Meira
3-
// Copyright (c) 2018-2022 DSS Extensions contributors
3+
// Copyright (c) 2018-2022 DSS-Extensions contributors
44
//
55
// See LICENSE for more information.
66
//
@@ -59,7 +59,7 @@ public IntPtr GetContextHandle()
5959

6060
/// <summary>
6161
/// APIUtil provides some common functions to read data and map errors.
62-
/// Member names are kept to mirror DSS Python and other projects.
62+
/// Member names are kept to mirror DSS-Python and other projects.
6363
/// </summary>
6464
public class APIUtil
6565
{

0 commit comments

Comments
 (0)