Skip to content

Commit

Permalink
Fix various typos (#1738)
Browse files Browse the repository at this point in the history
Found via `codespell -q 3 -S ./.git,*.po,*.pot,*.ts -L addess,afe,ba,corrently,datas,plattform,pres`
  • Loading branch information
luzpaz authored Mar 1, 2022
1 parent 171804a commit 08eab05
Show file tree
Hide file tree
Showing 15 changed files with 22 additions and 22 deletions.
4 changes: 2 additions & 2 deletions doc/modules/ROOT/pages/gettingstarted.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -203,7 +203,7 @@ INFO [onent.AbstractOpenemsComponent] [ctrlApiWebsocket0] Activate Controller.A
INFO [socket.AbstractWebsocketServer] Starting [Websocket Api] websocket server [port=8085]
```
+
NOTE: The Controller Api Websocket is required so that OpenEMS UI can connecto to OpenEMS Edge locally.
NOTE: The Controller Api Websocket is required so that OpenEMS UI can connect to OpenEMS Edge locally.

== Setup Visual Studio Code for OpenEMS UI

Expand Down Expand Up @@ -361,7 +361,7 @@ NOTE: OpenEMS UI can work both for local connections to OpenEMS Edge as well as

. You should see OpenEMS UI Login. Log in with any email / username and password.
+
NOTE: _**Metadata.Dummy**_ accepts any user/password combination. For production use, switch to a differen *Metadata* implementation as described above.
NOTE: _**Metadata.Dummy**_ accepts any user/password combination. For production use, switch to a different *Metadata* implementation as described above.
+
.UI via Backend
image::ui-via-backend.png[UI via Backend]
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -365,7 +365,7 @@ public enum ChannelId implements io.openems.edge.common.channel.ChannelId {
COS_PHI(Doc.of(OpenemsType.FLOAT) //
.accessMode(AccessMode.READ_ONLY)), //

// TODO delete later, just for info whats inside ;)
// TODO delete later, just for info what's inside ;)
REACTIVE_ENERGY(Doc.of(OpenemsType.LONG) //
.accessMode(AccessMode.READ_ONLY)), //

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -182,7 +182,7 @@ private EnumMap<PROPERTY, JsonElement> convertToEnumMap(ArrayList<String> errors
result.put(key, entry.getValue());
}
if (!unknownProperties.isEmpty()) {
errors.add("Unknown Configuration Propert" //
errors.add("Unknown Configuration Property" //
+ (unknownProperties.size() > 1 ? "ies" : "y") + ":" //
+ unknownProperties.stream().collect(Collectors.joining(",")));
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
import io.openems.edge.ess.api.ManagedSymmetricEss;

/**
* Represents a Energy Storage System with Off-Grid capabilites.
* Represents a Energy Storage System with Off-Grid capabilities.
*/
public interface OffGridEss extends ManagedSymmetricEss {

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ public OffGridState runAndGetNextState(Context context) throws OpenemsNamedExcep
this.isLastChangeChecked = false;
}

// Allowed discharge reduces to 0, becuase target gridmode changes the inverter
// Allowed discharge reduces to 0, because target gridmode changes the inverter
// from RUNNING to GO_RUNNING state
if (ess.getAllowedDischargePower().orElse(0) == 0 && ess.getGridMode() == GridMode.OFF_GRID
&& ess.getSoc().get() < 5) {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ public IState getState() {

@Override
public IState getNextState() {
return OnGridState.ONGRID; // Currently it is ot defined, so it is always ongrid
return OnGridState.ONGRID; // Currently it is not defined, so it is always ongrid
}

@Override
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ public IState getState() {

@Override
public IState getNextState() {
return OnGridState.ONGRID; // Currently it is ot defined, so it is always ongrid
return OnGridState.ONGRID; // Currently it is not defined, so it is always ongrid
}

@Override
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -931,20 +931,20 @@ protected final ModbusProtocol defineModbusProtocol() throws OpenemsException {
// default 100 kilo Ohm, to read or set Isolation protection threshold for the
// inverter
m(GoodWe.ChannelId.ISO_LIMIT, new UnsignedWordElement(45245)), //
// as default is deactivated, set "1" to activate LVRT functtion, Set "2" to
// as default is deactivated, set "1" to activate LVRT function, Set "2" to
// activate HVRT, The same as 45499
m(GoodWe.ChannelId.LVRT_HVRT, new UnsignedWordElement(45246))), //
new FC16WriteRegistersTask(45250, //
// to write or read the start up PV voltage of the inverter.Please refer to the
// user manual
m(GoodWe.ChannelId.PV_START_VOLTAGE, new UnsignedWordElement(45250),
ElementToChannelConverter.SCALE_FACTOR_MINUS_1), //
// as default is deactivated, set "1" to activate "Shadow Scan" functtion
// as default is deactivated, set "1" to activate "Shadow Scan" function
m(GoodWe.ChannelId.MPPT_FOR_SHADOW_ENABLE, new UnsignedWordElement(45251)), //
// as default is deactivated, set "1" to activate "Shadow Scan" functtion
// as default is deactivated, set "1" to activate "Shadow Scan" function
m(GoodWe.ChannelId.BACK_UP_ENABLE, new UnsignedWordElement(45252)), //
// Off-Grid Auto startup, as default is deactivated, set "1" to activate "Shadow
// Scan" functtion
// Scan" function
m(GoodWe.ChannelId.AUTO_START_BACKUP, new UnsignedWordElement(45253)), //
// As default is "0"
m(GoodWe.ChannelId.GRID_WAVE_CHECK_LEVEL, new UnsignedWordElement(45254)), //
Expand Down Expand Up @@ -1762,7 +1762,7 @@ private void handleDspVersion6(ModbusProtocol protocol) throws OpenemsException
new DummyRegisterElement(47001), //
m(GoodWe.ChannelId.WMETER_CONNECT_CHECK_FLAG, new UnsignedWordElement(47002)), //
new DummyRegisterElement(47003, 47004), //
// Breakpoint Resume for Data transfering. Activated as default, time
// Breakpoint Resume for Data transferring. Activated as default, time
// interval 5
// minutes
m(GoodWe.ChannelId.LOG_DATA_ENABLE, new UnsignedWordElement(47005)), //
Expand All @@ -1778,7 +1778,7 @@ private void handleDspVersion6(ModbusProtocol protocol) throws OpenemsException
// 1: off, 2: on, 3: flash 1x, 4: flash 2x, 5: flash 4x
m(GoodWe.ChannelId.WIFI_LED_STATE, new UnsignedWordElement(47013)), //
m(GoodWe.ChannelId.COM_LED_STATE, new UnsignedWordElement(47014)), //
// 1:on 0:off ony for single phase Smart meter
// 1:on 0:off only for single phase Smart meter
m(GoodWe.ChannelId.METER_CT1_REVERSE_ENABLE, new UnsignedWordElement(47015)), //
m(GoodWe.ChannelId.ERROR_LOG_READ_PAGE, new UnsignedWordElement(47016)), //
// 1:on 0:off If not connect to Internet, please set 1
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -404,7 +404,7 @@ public static enum ChannelId implements io.openems.edge.common.channel.ChannelId
STATE_113(Doc.of(Level.FAULT).text("Off-grid zero error")), //
STATE_114(Doc.of(Level.FAULT).text("Power fast retrack error")), //
STATE_115(Doc.of(Level.FAULT).text("Bypass relay switch error")), //
STATE_116(Doc.of(Level.FAULT).text("Backup load realy switch error")), //
STATE_116(Doc.of(Level.FAULT).text("Backup load relay switch error")), //

// Table 8-32 Inverter detailed status
STATE_117(Doc.of(Level.INFO).text("Over frequency curve running")), //
Expand All @@ -417,7 +417,7 @@ public static enum ChannelId implements io.openems.edge.common.channel.ChannelId
STATE_124(Doc.of(Level.INFO).text("Fixed PF is set")), //
STATE_125(Doc.of(Level.INFO).text("Fixed reactive power is set")), //
STATE_126(Doc.of(Level.INFO).text("Inverter over temp,derating curve operation")), //
STATE_127(Doc.of(Level.INFO).text("Australian DRED electricty sale status")), //
STATE_127(Doc.of(Level.INFO).text("Australian DRED electricity sale status")), //
STATE_128(Doc.of(Level.INFO).text("Australian DRED purchase status")), //
STATE_129(Doc.of(Level.INFO).text("Active power limit set")), //
STATE_130(Doc.of(Level.INFO).text("70 percent derating (Germany) has been opened")), //
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -481,7 +481,7 @@ <h2 align="left">Product identification</h2><br></caption>
</tr>
</tbody></table><br><table cellspacing="0" cellpadding="2" border="1">
<caption>
<h2 align="left">Communication board informations</h2><br></caption>
<h2 align="left">Communication board information</h2><br></caption>
<tbody><tr class="header">
<th width="100">Dec start address</th>
<th width="100">Hex start address</th>
Expand Down
2 changes: 1 addition & 1 deletion io.openems.edge.predictor.similardaymodel/readme.adoc
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
= Similarday-Model Predictor

This predictor uses "Similar day technique" for prediction.
This particular implmentation requires mainly two inputs, which are
This particular implementation requires mainly two inputs, which are
* Num of past weeks (n)
* The channels address data, which needs to predicted.

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -208,7 +208,7 @@ private static List<List<Integer>> getCorrectIndexes(List<List<Integer>> mainDat
* @param whichDay current actual day.
* @param numDaysOfWeek total number of days of week.
* @param nthTerm nthterm
* @return boolean value to represent is value memeber of correct day
* @return boolean value to represent is value member of correct day
*/
private static boolean isMember(int whichDay, int numDaysOfWeek, int nthTerm) {
if (numDaysOfWeek == 0) {
Expand Down
2 changes: 1 addition & 1 deletion io.openems.wrapper/aXMLRPC.bnd
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
Bundle-Name: aXMLRPC
Bundle-Description: aXMLRPC is a Java library with a leightweight XML-RPC client.
Bundle-Description: aXMLRPC is a Java library with a lightweight XML-RPC client.
Bundle-DocURL: https://github.com/gturri/aXMLRPC
Bundle-License: https://opensource.org/licenses/MIT
Bundle-Version: 1.12.0
Expand Down
2 changes: 1 addition & 1 deletion ui/src/app/edge/settings/profile/profile.component.html
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@
<ion-card>
<ion-item color="light" lines="full">
<ion-icon slot="start" name="today-outline" color="primary"></ion-icon>
<ion-label>Konfiguration</ion-label>
<ion-label>Configuration</ion-label>
</ion-item>

<ion-card-content>
Expand Down
2 changes: 1 addition & 1 deletion ui/src/global.scss
Original file line number Diff line number Diff line change
Expand Up @@ -136,7 +136,7 @@ formly-input-section {
flex: auto; // use all remaining space in a row
}

// Added styles for alertController, because alertController doesnt take ionic default style
// Added styles for alertController, because alertController doesn't take ionic default style
.alertController{
.alert-head{
text-align: center !important;
Expand Down

0 comments on commit 08eab05

Please sign in to comment.